- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Does the reboot command generate log entries?
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
Forums
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
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
09-19-2001 05:45 AM
09-19-2001 05:45 AM
Does the reboot command generate log entries?
N4000, HP-UX 11.0.
I know the shutdown commands logs to /etc/shutdownlog and syslog, but does anybody know if the reboot command (particularly 'reboot -qh') logs anywhere?
We had a problem with high temperature and last entry in syslog said that it reached a critical level but it doesn't say exactly when the system was brought down (because envd used reboot).
Thanks in advance,
Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 05:52 AM
09-19-2001 05:52 AM
Re: Does the reboot command generate log entries?
Look at "last -R | grep reboot" and see if the reboot entries show up there.
Another thing (if it was a recent reboot) you can compare timestamps in the syslog.log and OLDsyslog.log (i.e. tail -1 /var/adm/OLDsyslog.log; head -1 /var/adm/syslog.log)
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:00 AM
09-19-2001 06:00 AM
Re: Does the reboot command generate log entries?
It is possible that your system was brought down by other means. If the processor failed it could have halted the system but recovered when it attempted to reboot. I do know that it the system issues it's own reboot after a panic it is noted in the log along with the isr.ior entry. They also have reboot entries but do not specify a user.
Lou Zirko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:07 AM
09-19-2001 06:07 AM
Re: Does the reboot command generate log entries?
Use
last -5 reboot
It will list the 5 times your system was booted. The top entry will be for present boot.
Hope this helps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:08 AM
09-19-2001 06:08 AM
Re: Does the reboot command generate log entries?
Normally reboot logs to /etc/shutdownlog but when invoked with -q option it doesn't do any logging, and it ignores the -t and -m options as well.
Look at the man page for reboot (-q option)
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:14 AM
09-19-2001 06:14 AM
Re: Does the reboot command generate log entries?
Sep 19 10:35:41 kibo EMS [1235]: ----- EMS Monitor Restart due to system reboot
----- Title: FC60_monitor Command: /usr/sbin/stm/uut/bin/tools/monitor/fc6
0mon Vendor: Hewlett-Packard Co. Version: A.01.05 To obtain a list of
currently monitored resources, execute the following: /opt/resmon/bin/resdata -
M 1652016795
A random panic should at least generate a hpmc tombstone sig /var/tombstones and a crash dump in /var/adm/crash
My shutdownlog in anycase does give info on reboot as well as shutdowns.
You should also have a look a t the systems GSP to have a look at chassis logs.
Note that EMS will generate warnings on temperature problems. You should ensure diagnostics is on.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 10:11 AM
09-19-2001 10:11 AM
Re: Does the reboot command generate log entries?
I had checked the OLDsyslog, /etc/shutdownlog and EMS, they tell me when the system came back up but not when the reboot command was issued (because it had the -q in it).
I didn't know about the last -R command but again it tells me when the system came back up.
I was hoping for some hidden log file that is always updated by the reboot command even when it's run with the -q.
Luis