How to run logtool in cstm?

From Wiki-UX.info
Jump to: navigation, search

Sometime is necessary to gather more information of hardware failures. Logtool an subset of the Support Tools Manager application can provide useful information when troubleshooting hardware issues.

These are the steps to follow:

# cd /var/stm/logs/os
# ll 

If you plan to analyze all data, or something that happened on an specific date, check and see if there is/are any raw logs corresponding to the date in question, or when the issue happened. If you just want to grab information from the current state of the server select the log####.raw.cur file.

The run,


# cstm
cstm>UtilOption
Enter selection: [reportinfo] 3
cstm>runutil logtool
Logtool Utility>sr
Enter Cancel or File Name:'''log1962.raw.cur''' (specify the log####.raw for the date in question, or the log####.raw.cur for the current data)


... Hit spacebar until you see

Enter Done, Help, Print, SaveAs, or View: [Done] saveas

Enter Cancel or File Name:log.summary


... Then

Logtool Utility>fr
Directory: [/var/stm/logs/os/] /var/tmp

Enter Done, Help, Print, SaveAs, or View: [Done] saveas
-- Save Logtool Utility: View Formatted Summary --
Logtool Utility: View Formatted Summary File
Path: /var/tmp/
Enter Cancel or File Name:formattedlog

Logtool Utility>fl

Hit the q key and then use saveas to save the file.

Analyze the last saved file, the formattedlog file and the log.summary file.