Operating System - HP-UX
1851727 Members
4310 Online
104062 Solutions
New Discussion

Re: Is there a command for System Info???

 
SOLVED
Go to solution
Michael Zayti
Occasional Advisor

Is there a command for System Info???

Just wondering of any command that will show current system info on a C3600 box. all i really need is processor speed, RAM installed and possibly hard disks installed.

any help would be greatly appreciated.

NOTE: i would reboot in the hopes that it would show during bootup, but this is a production, so rebooting would be quite the task.
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Is there a command for System Info???

Hi Michael,

Search for 'cfg2html' and 'sysinfo' in the forums. You can find sources from where you can install them.

See if you have /opt/ignite/bin/print_manifest binary. If it is there, running it also can provide you with the information you need. For specific details you mentioned, you can use these commands.

Processors:

echo 'processor_count/D' | adb -k /stand/vmunix /dev/kmem

Processor Speed:

echo itick_per_tick/D | adb $kernel /dev/kmem

Memory:

echo 'phys_mem_pages/D' |adb -k /stand/vmunix /dev/kmem

Multiply the above with 4 to get it in KB.

Disks:

ioscan -fnC disk
vgdisplay -v
strings /etc/lvmtab

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Michael Zayti
Occasional Advisor

Re: Is there a command for System Info???

Thank you very much, that was exactly what i was looking for!
H.Merijn Brand (procura
Honored Contributor

Re: Is there a command for System Info???

Also depends on what OS version you run.

All these questions and commands are described in the FAQ section of my site:

USA Los Angeles http://mirrors.develooper.com/hpux/#FAQ
SGP Singapore https://www.beepz.com/personal/merijn/#FAQ
USA Chicago http://ww.hpux.ws/merijn/#FAQ
NL Hoofddorp http://www.cmve.net/~merijn/#FAQ

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Bill Hassell
Honored Contributor

Re: Is there a command for System Info???

SAM can provide this information too, but the nicest tool is print_manifest. If you don't have it on your system (it's in /opt/ignite/bin), you don't have Ignite/UX installed and thus no reasonable way to restore the system if the boot disk fails. Ignite/UX is free from software.hp.com


Bill Hassell, sysadmin
Colin Topliss
Esteemed Contributor

Re: Is there a command for System Info???

Don't forget stm (or xstm for the X version). That will show you all you wanted to know and more about everything in your system (but it is a little cumbersome to navigate around if what you are after are quick answers).

Without checking, I *think* its a part of diagnostics (Support Tools Manager).

Col.
Michael Zayti
Occasional Advisor

Re: Is there a command for System Info???

Thanks to all, you all were a great help :)