Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check shutdown log

Status
Not open for further replies.

malayzorro

Technical User
Oct 29, 2007
6
TW
sometime I need to check time server reboot/shutdown...
If in HP-UX, I check shutdownlog...But I'm not sure in Sun Solaris.!!
 
You can use the last command which will tell you when the system was booted.
Also check /var/adm/messages.
 
To be more specific, try:
last | grep reboot

Also:
who -b
gives that last boot time.


I hope that helps.

Mike
 
yea...thank you guys..
the only think, in hpux..I can view all the shutdown process..so I know it's a schedule reboot or not..
But..I think cron can give the answer..only in hard way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top