- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dmesg and syslog
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
05-28-2005 02:38 PM
05-28-2005 02:38 PM
dmesg and syslog
Can anybody explain in detail ,what is the difference between dmesg and /var/adm/syslog/syslog.log
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2005 03:13 PM
05-28-2005 03:13 PM
Re: dmesg and syslog
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2005 04:28 PM
05-28-2005 04:28 PM
Re: dmesg and syslog
Have pasted what i found in MAN pages..
dmesg -
dmesg looks in a system buffer for recently printed diagnostic
messages and prints them on the standard output. The messages are
those printed by the system when unusual events occur (such as when
system tables overflow or the system crashes). If the - argument is
specified, dmesg computes (incrementally) the new messages since the
last time it was run and places these on the standard output. This is
typically used with cron (see cron(1)) to produce the error log
The system error message buffer is of small, finite size. dmesg is
run only every few minutes, so there is no guarantee that all error
messages will be logged.
syslog...
This log is used by a application or daemons to report the problem they encounter.
This is done by the apps by invoking "logger" command. A entry can be added to by syslog.log by user by invoking "logger" command. It can be considered as a feature provided by UNIX system for app vendor or
programmer to log into syslog.log file.
The logger command provides a program interface to the syslog() system
log module (see syslog(3C)).
A message can be given on the command line, which is logged
immediately, or a file is read and each line is logged. If no file or
message is specified, the contents of the standard input are logged.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 01:23 PM
05-31-2005 01:23 PM
Re: dmesg and syslog
Thanks for the replies..I have some more doubts about the same. Does hardware alerts will logged into the syslog..Also explain the normal procedure we follow for hardware related problems ( I mean checking the logs)
Thanks....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:14 PM
05-31-2005 02:14 PM
Re: dmesg and syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:27 PM
05-31-2005 02:27 PM
Re: dmesg and syslog
sorry..the above link I'm no able to open..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:37 PM
05-31-2005 02:37 PM
Re: dmesg and syslog
echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm
If you get a response that cstm was not found, you need to install the online diagnostics from your HP Support Plus CDROM.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 07:18 PM
05-31-2005 07:18 PM
Re: dmesg and syslog
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=645417
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 08:03 AM
06-02-2005 08:03 AM
Re: dmesg and syslog
i have attached a sample syslog file..
too bad ..i couldn't grep and sort it as some events spanned multiple days.. so i will not be able to present is in a fine manner.
But.. Usually.. the H/W issses reported by unix kernel(vmunix).. will be reported
date syatemname vmunix : Error
ex.. Please find more in the attachment.
Apr 3 15:15:35 unix_sys vmunix: ct_query failed. hw_path = 0/4/0/0
This doesn't go to say that , others wouldn't report H/W issues...Some daemons could report for example...for a tape drive,reported by veritas netbackup daemon.
Nov 28 11:58:19 bdhp4271 tldcd[1098]: TLD(40) key = 0x4, asc = 0x40, ascq = 0x1, HARDWARE ERROR, GENERAL..
so actually.. you need to get familiar with your system devices and daemons running.. and check how these are logged to syslog.. This
understanding will aid you in dechipering the syslog for issues in
future.
Regards.