Operating System - HP-UX
1832650 Members
2768 Online
110043 Solutions
New Discussion

Command: echo "selclass qualifier cpu;info;wait;infolog" | cstm

 
SOLVED
Go to solution
Manuales
Super Advisor

Command: echo "selclass qualifier cpu;info;wait;infolog" | cstm


I found this command:

echo "selclass qualifier cpu;info;wait;infolog" | cstm

is it only for cpu?
i do not understand how it was built, i mean
i'd like to know if i can use it for more revisions with other hw or sw , could you please let me know?

thanks.
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor
Solution

Re: Command: echo "selclass qualifier cpu;info;wait;infolog" | cstm

Hi,

No change the cpu to system eg

# echo "selclass qualifier system;info;wait;infolog" | /usr/sbin/cstm

and you will get the info for your system.

Other commands
print_manifest if you have ignite installed
11.23 + 11.31 /usr/contrib/bin/machinfo

Regards,
Robert-Jan
Manuales
Super Advisor

Re: Command: echo "selclass qualifier cpu;info;wait;infolog" | cstm

Excellent answer !! thanks a lot !!!
Bill Hassell
Honored Contributor

Re: Command: echo "selclass qualifier cpu;info;wait;infolog" | cstm

cstm is actually an interactive command so the one-liner is just a collection of the commands needed to query cpu information. Here are several others that are useful:

CPU details:
echo "selclass qualifier cpu;info;wait;infolog" | cstm

LAN details:
echo "selclass qualifier lan;info;wait;infolog" | cstm

echo "selclass qualifier memory;info;wait;infolog" | cstm

Tape details:
echo "selclass type tape;info;wait;infolog" | cstm

and so on. NOTE: some cstm commands require "selclass qualifier" and some require "selclass type". No one at HP can explain why there is such a non-intuitive division. Here's what I have been able to gather:

QUALIFIER
Bus CDROM CPU FibreQL Hard IDE IPMI LAN Memory RS-232 SCSI USB system All

TYPE
Adapter Disk Hub Interface Memory Processor Tape

Note also that you should download the latest EMS/diagnostics every 6 months. Current version is A.57.0.


Bill Hassell, sysadmin
Andrew Merritt_2
Honored Contributor

Re: Command: echo "selclass qualifier cpu;info;wait;infolog" | cstm

See here for the current versions - http://www.docs.hp.com/en/diag/stm/stm_upd.htm#table
The release cycle is not as regular as six-monthly now. A.57.00 is the current version for 11i v1 (11.11), C.56.00 for 11i v2 (11.23) and D.02.00 for 11i v3 (11.31).

Note also that on IA systems there is no CPU Info tool, you need to run a combination of the system Info tool and machinfo.

Andrew