HPUX logs

Hi All,

I'm a unix newbie and have just started working on HPUX. Can you please tell me details of the log files such as their path and their filenames so that i can get familiar with them.

Thanks,

What log files are we talking about? syslog?
/var/adm/syslog/ is the default. This file: /etc/syslog.conf tells if syslog is "Aimed" at another directory instead.

Thanks for the syslog file.

What about hardware and network faults and errors? will it be in the syslog file?

The unfiltered hardware event logs are in directory /var/opt/resmon/log . The more serious errors are also reported in /var/adm/syslog.log .
The raw CSTM logs are in /var/stm/logs/os/ . Use cstm (or preferably xstm) to read them. The "log....raw..." files can accumulate rapidly if there is a hardware error, but don't delete the current "log....raw.cur" .
The mail log is /var/adm/syslog/mail.log .
The su log is /var/adm/sulog .
The system startup scripts log is /etc/rc.log .
The cron log is /var/adm/cron/log .
The print spooler log is /var/adm/lp/log
Raw network logs are in /var/adm/nettl.LOG* . Read these with "netfmt".

Thanks a lot methyl, will check on the same... :slight_smile: