- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Log for down time
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2011 08:50 PM
12-17-2011 08:50 PM
Log for down time
Hi,
I have a DL380G5 server and OS is RHEL5. I have founded that server is down then I started the server again now server is up and running smoothly.
I need to know when the server was down. Which log I have to check for shutdown time.
Regards,
Alamgir Khan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2011 02:05 PM
12-18-2011 02:05 PM
Re: Log for down time
If the server was down because someone had shut it down using the proper procedure, you would find a message in /var/log messages, like this:
[root@rhel57 ~]# grep shutdown /var/log/messages Oct 8 15:28:24 rhel55 shutdown[11079]: shutting down for system halt Oct 9 23:09:23 rhel55 shutdown[4446]: shutting down for system halt Oct 9 23:41:50 rhel55 shutdown[2291]: shutting down for system reboot Oct 9 23:44:44 rhel57 shutdown[2321]: shutting down for system halt
(this is from a RHEL 5.7 Virtual Machine I use for testing various things)
If a day or more has passed after the restart, the /var/log/messages might have already been rotated, so you should also check the older versions of the log, i.e. /var/log/messages.*.
But if the shutdown was caused by the server overheating, or loss of power, or some other hardware failure, you would need the hardware log (IML = Integrated Management Log, if I recall correctly). If you have the hp-health package (part of the PSP = Proliant Support Pack) installed, there are several tools for viewing the hardware log: "hpimlview", "hplog -v" and the "show iml" subcommand of "hpasmcli".
- Tags:
- hpimlview