Operating System - HP-UX
1837092 Members
2537 Online
110112 Solutions
New Discussion

Re: How to invoke LOGTOOL via CSTM?

 
SOLVED
Go to solution
AlienRoadShow
Frequent Advisor

How to invoke LOGTOOL via CSTM?

Hi Guys:

Having touble getting beyond the CSTM basics especially when calling LOGTOOL. How can I do the following from a CSTM script that would then be called via cron?

STM > TOOLS > UTILITY > RUN > LOGTOOL > FILE > RAW SUMMARY

Thanks in advance!

Alien
Yours, Mine and Yours
2 REPLIES 2
steven Burgess_2
Honored Contributor
Solution

Re: How to invoke LOGTOOL via CSTM?

Hi

You can certainly do this, you need to have a trawl through the documentation to see what options you need to select before piping it through cstm and outputting to a file

for eg to get memory information


...to find memory configuration:


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


Have a look through the tutorial. If I get chance later I'll have a look also and let you know


http://docs.hp.com//hpux/onlinedocs/diag/stm/stt_crun.htm


HTH

Steve
take your time and think things through
Hari Kumar
Trusted Contributor

Re: How to invoke LOGTOOL via CSTM?

Hi,
U first need to select using
cstm>sel {the device or }
or u can say
cstm>selall

thanks
Information is Wealth ; Knowledge is Power