Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DMESG(1M)  —  HP-UX

Series 300, 800 Only

NAME

dmesg − collect system diagnostic messages to form error log

SYNOPSIS

/etc/dmesg [ − ]

DESCRIPTION

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 − flag is given, then 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(1) to produce the error log /usr/adm/messages by running the command:

/etc/dmesg − >> /usr/adm/messages every 10 minutes. 

WARNINGS

The system error message buffer is of small finite size.  Because dmesg is run only every few minutes, not all error messages are guaranteed to be logged. 

AUTHOR

Dmesg was developed by the University of California, Berkeley, California, Computer Science Division, Department of Electrical Engineering and Computer Science. 

FILES

/usr/adm/messageserror log (conventional location)
/usr/adm/msgbufscratch file for memory of − option

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026