Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174019

Re: Power Cut

From Andre Majorel <aym-naibed@teaser.fr>
Newsgroups linux.debian.user
Subject Re: Power Cut
Date 2016-10-30 10:10 +0100
Message-ID <sxUhP-2EK-1@gated-at.bofh.it> (permalink)
References <sxRWF-173-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2016-10-29 23:37 -0700, Hadi Motamedi wrote:

> I am using a debian server for cdr billing and mediation
> device on a remote network. I am experiencing problem that I
> am suspicious it comes from main supply power cut at the
> remote site. The power supply to the remote site comes from
> battery charger that will be automatically switched in circuit
> under main supply power cut but cannot provide adequate power
> for more than 2 hours . I am suspicious that the remote system
> is suffering from many frequent main supply power cut.
>
> Can you please do me favor and let me know if there is any log
> on my debian server that I can check to see if there would be
> many frequent power cut there ?

If you mean reboots, you could try something like

  zgrep ' Command line: BOOT_IMAGE=' /var/log/syslog*

Alternatively, look into commands such as last(1), uptime(1),
utmpdump(1) or who(1).

If you mean power outages short enough to not cause the computer
to shut down or reboot, I suspect you'd need special hardware to
monitor the mains voltage and report variations to the computer.
I don't think your ordinary ATX power supply does that but lots
of UPS do.

-- 
André Majorel <http://www.teaser.fr/~amajorel/>
bugs.debian.org, your one-stop shop for email addresses.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Power Cut Hadi Motamedi <motamedi24@gmail.com> - 2016-10-30 07:40 +0100
  Re: Power Cut Gene Heskett <gheskett@shentel.net> - 2016-10-30 08:40 +0100
    Re: Power Cut Hadi Motamedi <motamedi24@gmail.com> - 2016-10-30 08:50 +0100
    Re: Power Cut Lisi Reisz <lisi.reisz@gmail.com> - 2016-10-30 13:10 +0100
      Re: Power Cut Gene Heskett <gheskett@shentel.net> - 2016-10-30 14:30 +0100
  Re: Power Cut Andre Majorel <aym-naibed@teaser.fr> - 2016-10-30 10:10 +0100
    Re: Power Cut Reco <recoverym4n@gmail.com> - 2016-10-30 10:30 +0100
      Re: Power Cut Andre Majorel <aym-naibed@teaser.fr> - 2016-10-31 08:50 +0100

csiph-web