1755152 Members
4436 Online
108830 Solutions
New Discussion юеВ

Info commands

 
SOLVED
Go to solution
Mike Duffy
Frequent Advisor

Info commands

Hi,

Does anyone know the HPUX commands to get the following info from a HPUX 11 server?
1. Processor info (speed, number of ect)
2. Current eeprom settings
3. All other system info ie diag settings, power settings

Thanks in advance.

9 REPLIES 9
Shahul
Esteemed Contributor

Re: Info commands

Hi

For Speed U can use this command

#echo "itick_per_usec/D" |adb /stand/vmunix /dev/kmem

For eeprom settings U may need to go to main menu


Best of luck
Shahul
harry d brown jr
Honored Contributor
Solution

Re: Info commands


1. Processor info (speed, number of ect)

/opt/ignite/bin/print_manifest

2. Current eeprom settings

What eeprom settings?

3. All other system info ie diag settings, power settings

diag and power settings?

print_manifest will show quite a lot. To "drill" down into things, use xstm, stm, or cstm.


live free or die
harry
Live Free or Die
Mike Duffy
Frequent Advisor

Re: Info commands

Some of our systems do not have ignite (old 10.20) does anyone know how to get the info from these systems?


Bill Hassell
Honored Contributor

Re: Info commands

As mentioned, cstm (the online diags) is a good start. I would never run production systems without the online diags present. You don't have to run EMS notification but cstm is invaluable. And of course, a system without Ignite/UX is a system that will cause considerable pain for everyone when the root disk fails or a root user says "oops!".

For all the CPU information:

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

For all the memory information (including size of memory modules and their location):

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


Bill Hassell, sysadmin
Stefan Schulz
Honored Contributor

Re: Info commands

Hi,

a lot of this information can be obtained by using the sysinfo script.

Search the forum for a newer version. I'll attach sysinfo179b. This works well under HP-UX 10.20.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Mike Duffy
Frequent Advisor

Re: Info commands

Hi,

Excellent responses.....but......

The cstm command gives the following errors;

cstm>selclass qualifier cpu;info;wait;infolog
^-- Unknown keyword. --

^-- (Wait) is currently disabled. --

^-- (InfoLog) is currently disabled. --


Any ideas.

The script supplied gives too much info and errors quite a lot.

I am looking for the HP commands that give similar output to the SOLARIS commands;

prtconf -- Config output
psrinfo -- info about the processors
eeprom -- eeprom info



Any ideas?

S.K. Chan
Honored Contributor

Re: Info commands

I think you're running it wrong. Try interactive cstm ..

# cstm
cstm> map
cstm> sel dev
cstm> info
cstm> infolog

I do not think there is a direct "one-command" deal, you just have to try all the suggestions and see what fits your need.
MANOJ SRIVASTAVA
Honored Contributor

Re: Info commands

Hi Mike


To know about your system

1. print _mansifest incase you have the Ignite installed.

2. SAM---->performance monitors ---->system properties it will give yuo info bout cpu/speed/memeory/network etc etc.

3.There is a s/w sysinfo whihc is genrally wiht HP Ce's which can be loaded and run , this will give you a comprehensive info on all you want , incas eyou are not able to get teh same I can mail it to you , a sample o/p is attached for your refernce.


Manoj Srivastava
Anonymous
Not applicable

Re: Info commands

there is a script that we use document our system setup called "cfg2html"- you may want to search the forum with this keyword to see comments and related threads. As far as I recall there is also a Solaris version around -check

http://groups.yahoo.com/group/cfg2html/

hth, Tom.