1836995 Members
2092 Online
110111 Solutions
New Discussion

Re: cstm logs

 
SOLVED
Go to solution
j773303
Super Advisor

cstm logs

How to use the cstm to view the log message?
Hero
3 REPLIES 3
Mei Jiao
Respected Contributor
Solution

Re: cstm logs

You can use the following command to append the output of the cstm output to a file, for example:
# echo "map;selall;wait;info;wait;infolog;view;done" | cstm > /tmp/cstm.txt

Then do a 'more' on the /tmp/cstm.txt file to view page by page.

Hope it helps!
Cheryl Griffin
Honored Contributor

Re: cstm logs

If you have access to the ITRC Knowledge Base, view document KNC112097001 "Running logtool within cstm" which outlines how to process and view the log files.


"Downtime is a Crime."
Lee Huei
Regular Advisor

Re: cstm logs

you can use this command to capture everythign into a file, eg:
#echo "map;selall;wait;info;wait;infolog;view;done" | cstm > filename.cstm

OR
# cstm
cstm>Map
cstm>SelAll <-- is "SelAll"
cstm>Information ; wait
cstm>InfoLog
cstm>Exit
Are you sure you want to exit the Support Tool Manager?
Enter Cancel, Help, or OK: [OK] OK
# exit

OR

# cstm
cstm>ru logtool
Logtool Utility>ce
File Name: [ccerrlog] Press "Enter/Return"
Standard input [Press space to continue, q to quit, h for help] Type "q"
Enter Done, Help, Print, SaveAs, or View: [Done] Type "sa"
File Name: Type "/tmp/gsplog.txt"
Enter Done, Help, Print, SaveAs, or View: [Done] Type "Enter/Return" Key
Enter Cancel, Help, or OK: [Done] Type "OK"
cstm)exit
Enter Cancel, Help, or OK: Type "OK"

All the three above are useful commands to capture cstm output.