On 2016-10-30 12:25 +0300, Reco wrote: > On Sun, 30 Oct 2016 10:06:30 +0100 > Andre Majorel <aym-nai...@teaser.fr> wrote: > > On 2016-10-29 23:37 -0700, Hadi Motamedi wrote: > > > > > > 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). > > Won't a simple "last | grep boot" suffice?
If the man page is not lying, "last reboot" will. But none of the machines I have access to reboot often enough for me to make sure. -- André Majorel <http://www.teaser.fr/~amajorel/> Plusieurs grandes marques de spambots recommandent lists.debian.org.