[Beowulf] Re: Logging MCE information on next warm boot?

David Mathog mathog at caltech.edu
Wed Jan 27 11:51:09 EST 2010


Carsten Aulbert wrote:

> 
> echo '<7>David Test' > /dev/kmsg
> 
> That should produce output:
> 
> Jan 27 08:32:24 10.10.12.43 [3098843.050122] David Test
> 
> The 7 is the logging "severity"


That was a good tip.  Using the default dmesg setting and entering <0>
-> <3> into the message string it logged across the network, <4> and up
it did not.  So netconsole seems to be working as expected.  The mapping
of numbers to types (error, emerg, etc.) seems not to be in the man
files, or at least I have not found it there, but is in:

/usr/include/sys/syslog.h and is


#define LOG_EMERG       0       /* system is unusable */
#define LOG_ALERT       1       /* action must be taken immediately */
#define LOG_CRIT        2       /* critical conditions */
#define LOG_ERR         3       /* error conditions */
#define LOG_WARNING     4       /* warning conditions */
#define LOG_NOTICE      5       /* normal but significant condition */
#define LOG_INFO        6       /* informational */
#define LOG_DEBUG       7       /* debug-level messages */


thanks,

David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list