- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dmesg vs syslog.log
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
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
тАО03-15-2006 03:57 AM
тАО03-15-2006 03:57 AM
dmesg vs syslog.log
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 04:02 AM
тАО03-15-2006 04:02 AM
Re: dmesg vs syslog.log
A careful examination of the man pages would also point out the difference. Dmesg is dianostics, syslog can be most anything, depending on how it is configured - but it rarely contains any of the dmesg diagnostics.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 04:09 AM
тАО03-15-2006 04:09 AM
Re: dmesg vs syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 04:15 AM
тАО03-15-2006 04:15 AM
Re: dmesg vs syslog.log
05,15,25,35,45,55 * * * * /usr/sbin/dmesg - >>/var/adm/messages 2>&1
As we used to do that to give you time and dates when entries are put in and also a running record. Works nicely.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 04:36 AM
тАО03-15-2006 04:36 AM
Re: dmesg vs syslog.log
Michael,
As Clay stated, dmesg is a fixed length rolling buffer. I have seen it fill up and roll over in less than 10 minutes. I would rely on your cron job to capture all of the output of dmesg.
If you really want the dmesg output you could try runnong a tail -f > /var/adm/some_sile_name against it in the background
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 05:03 AM
тАО03-15-2006 05:03 AM
Re: dmesg vs syslog.log
You may want to consider a way to timestamp the dmesg output that you are sending to /var/adm/messages or adding an echo command that puts the time in there as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 05:16 AM
тАО03-15-2006 05:16 AM
Re: dmesg vs syslog.log
Michael