All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Power Supply Monitoring
Date: Wed, 03 Jun 2009 08:06:13 +0000	[thread overview]
Message-ID: <20090603100613.31018c21@hyperion.delvare> (raw)
In-Reply-To: <20090602164941.uz55en9rms0okkg0@blastoid.drak.net>

On Tue, 2 Jun 2009 22:00:00 -0500 (CDT), Matt Roberds wrote:
> On Tue, 2 Jun 2009, Jacob Steinberger wrote:
> > I'm trying to do power supply monitoring to detect if we're having a
> > problem (loss of grid power, loss of UPS power, voltage issues, etc).
> 
> The voltage readings you get from lm-sensors are usually of the DC
> output of the computer power supply.  The readings also tend to have a
> relatively low update rate - maybe a few times a second max.  If your
> input AC power is really bad, you might be able to see it by looking at
> the output, but if the AC power only glitches out occasionally, you
> probably won't see it this way.

Actually this is only partly true. While the sysfs interface
rate-limits the readings, the chip itself is usually sampling the
voltage at a much higher rate, and alarms which are raised stick until
they are read. So you may not be able to see the voltage value at
glitch time, but you should definitely see an alarm for it the next
time you check it.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2009-06-03  8:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 21:49 [lm-sensors] Power Supply Monitoring Jacob Steinberger
2009-06-02 22:15 ` Mark E. Hansen
2009-06-03  3:00 ` Matt Roberds
2009-06-03  3:09 ` Jacob Steinberger
2009-06-03  8:06 ` Jean Delvare [this message]
2009-06-03 14:31 ` Mark E. Hansen
2009-06-03 14:55 ` Jacob Steinberger
2009-06-03 15:05 ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090603100613.31018c21@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.