General
cancel
Showing results for 
Search instead for 
Did you mean: 

what is the use of "echo "map selall info;wait infolog" | cstm'?

SOLVED
Go to solution
seenivasan
Frequent Advisor

what is the use of "echo "map selall info;wait infolog" | cstm'?

Dear Team,

echo "map selall info;wait infolog" | cstm

the above command wht it "ll perform?
2 REPLIES
Torsten.
Acclaimed Contributor

Re: what is the use of "echo "map selall info;wait infolog" | cstm'?

This line will likely give an error message ...



But if you do for example

# echo "sel dev all; info; wait; il" | cstm

this will paste a couple of commands to CSTM.

You select all devices (sel dev all), run the info tool against all items (info), wait for the tool to finish (wait) and finally view the info log (il).


Many other commands are possible, just see the MST help.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
S_Logan
HPE Pro
Solution

Re: what is the use of "echo "map selall info;wait infolog" | cstm'?

Hi Seenivasan,

The "echo "map selall info;wait infolog" | cstm" will give output in screen it self.

The output will have the System Hardware infromation like:

1) No of CPU installed/configured /deconfigured
2) No. Of memory modules installed(SBE/DBE)
PDT Table details.
3) Harddrive details
4) IO Card details if any etc..

You can send the script output to any file and see it

"echo "map selall info;wait infolog" | cstm > /tmp/cstm.txt



HTH,
Regards,
Surendar
Note: If you are the author of this question and wish to assign points to any of the answers, please login and assign points.
For more information on assigning points ,click here :
http://forums11.itrc.hp.com/service/forums/helptips.do
I work for HPE

If you feel this solution was helpful please click the KUDOS! thumb below!