Re: Cold-reboot.




Dave (from the UK) wrote:
grpdocs@xxxxxxxxx wrote:
How to check when the system was cold rebooted?
uptime or w -t would show the when the system restarted or how long its
up and running.
I would like to know is there any direct way (thr cmds) or indirect
way to find out when the last cold reboot happend or whether the last
reboot itself is a cold reboot.
See /var/adm/messages - example below.
Mar 14 02:11:34 sparrow reboot: [ID 662345 auth.crit] rebooted by root

Hmm
dmesg | grep reboot

No output yet I powered down last night.

you can use 'last'. grepped Example:

reboot system boot Mon Apr 10 08:09
reboot system down Mon Apr 10 00:57

That still does not say definitively that the box was powered down
though,
even though I know it was. If there is a better way I cannot think of
it at the moment : >

.



Relevant Pages

  • Re: Recognizing a new partition
    ... >> Cold reboot (from my old Big Iron days, load in the stack of Cold Boot ... We had some awesome GUI terminals. ... [root@localhost dave]# mount /dev/hdb3 ... If EXT3-fs is unrecognized mount option, I wonder if the system sees the ...
    (linux.redhat)
  • 6.0-release hanging without a clue (gmirror related?)
    ... week of uptime. ... After a cold reboot, gmirror loses one of the hds ...
    (freebsd-questions)
  • Re: Cold-reboot.
    ... uptime or w -t would show the when the system restarted or how long its ... way to find out when the last cold reboot happend or whether the last ... Dave K MCSE. ... MCSE = Minefield Consultant and Solitaire Expert. ...
    (comp.unix.solaris)
  • Cold-reboot.
    ... uptime or w -t would show the when the system restarted or how long its ... I would like to know is there any direct way or indirect ... way to find out when the last cold reboot happend or whether the last ...
    (comp.unix.solaris)