STM: Support Tools for HP-UX Computers (logo)

Logtool Tutorial: Other tasks

Other Tasks You Can Do With Logtool

System error log file. This log contains I/O error entries, LVM error entries, Sys overtemp errors, etc. In addition to the logtool commands for viewing and formatting this log, logtool provides commands to manage it:

Save the current system error log as a file.
xstm: File | Save As
mstm: File | Save As
cstm: sav (save)

Clear the current system error log file and create a new one:
xstm: File | Switch Log
mstm: File | Switch Log
cstm: sl (switchlog)

The existing system error log file is renamed. A new system error log file is started the next time there is an error to be logged. For example, the Switch Log command moves "log5.raw.cur" to "log5.raw," causing the logger process to open a new raw log file called "log6.raw.cur" the next time there is an error to be logged.

Monitor and control memory error logging. Use commands in the Memory pull-down menu. For example:

Clear the memory log file (deletes old file and starts a new one).
xstm: Memory | Clear Log
mstm: Memory | Clear Log
cstm: cl (clearlog)

Since this command DELETES the existing memory log file, you may want to view it first:
xstm: Memory | Report Log | View Detail
mstm: Memory | Report Log | View Detail
cstm: vd (viewdetail)

If desired, use an HP-UX command to save the memory log file (/var/stm/logs/os/memlog) to a different name.

View the error log and boot log. Use commands in the Chassis pull-down menu.

By now you know the basic tasks you can perform with Logtool. For more details, see the online help, available as a Web page (Logtool Reference) or through the online Help pull-down menu or Help function key from within logtool.


Summary
Start in xstm
Start in mstm
Raw logs
Formatted logs
Filters
Other tasks
All the files
Diagnostics HOME

Last updated: Thu Oct 26 15:45:33 PDT 2000