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-14-2007 03:03 AM
09-14-2007 03:03 AM
syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 03:07 AM
09-14-2007 03:07 AM
Re: syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 03:32 AM
09-14-2007 03:32 AM
Re: syslog
To add to Clay's explanation, if you look at the manpages for 'dmesg(1M)' you can see how to setup a periodic extraction of the 'dmesg' buffer should it contain any critical information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 10:00 AM
09-14-2007 10:00 AM
Re: syslog
In a sick machine (one with a critical out-of-memory condition, failing memory or some other serious problem) the syslogd daemon may crash, but the kernel message buffer will function as long as the kernel is still alive... but if the machine is in such a bad state, running the "dmesg" command successfully to see the messages may not be easy.
Note that the messages in the dmesg output don't generally have time stamps, so even the latest message at the end of the listing may be old.
You cannot get your own messages into the "dmesg" listing unless you program your own HP-UX driver, but syslog can be used fairly easily from user programs ("man 3 syslog" for the programming interface) or even scripts (man logger).
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 11:46 AM
09-14-2007 11:46 AM
Re: syslog
dmesg -
The firat time you run it, you see the entire buffer. The next time, you see nothing -- unless something new has been sent to the message buffer. So to create a log with time stamps, put this in root's crontab:
0,10,20,30,40,50 * * * * dmesg - >> /var/adm/dmesg.log
Now you'll have a time-stamped log of dmesg entries.
Bill Hassell, sysadmin