1846864 Members
16510 Online
110256 Solutions
New Discussion

Re: cstm scripts

 
SOLVED
Go to solution
Jay D Koonz
Occasional Advisor

cstm scripts

Anyone have any examples of cstm scripts ?
I'm looking for one to gather memory error logs off a bunch of disimilar machines and I have to believe there's an easier way to do it.
I was kinda hoping it would be easy to select memory on the different boxes, but the device number is always different.
Ride Boldly Ride, but watch out for El Dorados
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: cstm scripts

Hi,

If you want to look at memory errors, this might help,

# selclass qualifier memory;info;wait;infolog' |cstm >/tmp/meminfo.log

# more /tmp/meminfo.log

Hope this helps.

Regds
Sanjay_6
Honored Contributor
Solution

Re: cstm scripts

Sorry,

it should read,

# echo 'selclass qualifier memory;info;wait;infolog' |cstm >/tmp/meminfo.log

thanks
James R. Ferguson
Acclaimed Contributor

Re: cstm scripts

Hi:

# echo "selclass qualifier memory;info;wait;infolog"|cstm > /tmp/meminfo

Regards!

...JRF...
Bill McNAMARA_1
Honored Contributor

Re: cstm scripts

cstm -f file1.cstm > cstm.out

cat file1.cstm

Map
SelAll
Information ; wait
InfoLog
Done
Exit
OK

Later,
Bill




It works for me (tm)
Jay D Koonz
Occasional Advisor

Re: cstm scripts

Thanks. The "qualifier" keyword was what I was missing. I only saw "selclass device" in the cmd help info, must have missed the qualifier part.
Ride Boldly Ride, but watch out for El Dorados