- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: find out what time server reboot
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
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
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-20-2006 10:10 PM
тАО12-20-2006 10:10 PM
Re: find out what time server reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 03:04 AM
тАО12-21-2006 03:04 AM
Re: find out what time server reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 03:22 AM
тАО12-21-2006 03:22 AM
Re: find out what time server reboot
this will also show you all instances of reboots. One entry for the pseudo user reboot is added to the wtmp file every time a server is rebooted, so you will be able to see if you've had multiple reboots for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 09:00 PM
тАО12-21-2006 09:00 PM
Re: find out what time server reboot
/etc/shutdownlog
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 12:46 AM
тАО12-22-2006 12:46 AM
Re: find out what time server reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 01:45 AM
тАО12-22-2006 01:45 AM
Re: find out what time server reboot
i just found out that the who -b and who -r is not the one to be believed when they are used alone , may be u can use them together with uptime to know that.
This is the o/p from my machine and obviuosly it shows dec 20 but it is not showing me the year ...
root@test:/ -: who -b
. system boot Dec 20 12:29
root@test:/ -: uptime
2:37pm up 367 days, 2:08, 2 users, load average: 0.22, 0.18, 0.21
root@test:/ -: who -r
. run-level 3 Dec 20 12:29 3 0 S
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 01:48 AM
тАО12-22-2006 01:48 AM
Re: find out what time server reboot
They are not reporting the year.
The best option should be cat /etc/shutdownlog
or use the above commands lat reboot or who -b or who -r , whatever it is together with uptime to know the exact boot time
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 02:13 AM
тАО12-22-2006 02:13 AM
Re: find out what time server reboot
last |grep reboot
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 07:39 AM
тАО12-22-2006 07:39 AM
Re: find out what time server reboot
1. # cat /etc/shutdownlog
2. # last | grep reboot
3. If the server failed due to any sudden power failure etc, there will not be any log in the log file(shutdownlog).
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 07:39 AM
тАО12-22-2006 07:39 AM
Re: find out what time server reboot
1. # cat /etc/shutdownlog
2. # last | grep reboot
3. If the server failed due to any sudden power failure etc, there will not be any log in the log file(shutdownlog).
hth,
Raj.