Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get server info?

Status
Not open for further replies.

toddyl

Technical User
Sep 26, 2005
102
US
Hi,

I've logged into a HP Unix box which I know to be HP-UX 11i. From top I can see that the system has 8 CPUs etc.

What I am wondering is, is there a Unix command or a HP file that will tell me:

a: The actual make/brand name of the server
b: The number of CPUs installed and their processor speed
c: The amount of RAM available on the server

and other such hardware details.

Thanks,

Tom
 
toddyl,
'top' will give you some of the info you need.
regards,
longhair
 
Try :

a: The actual make/brand name of the server
model

b: The number of CPUs installed and their processor speed
ioscan |grep proc
(will get back to you on speed, can't remember command)

c: The amount of RAM available on the server
memstat -a (I think)

If you have online diags installed try xstm or cstm

Martin
 
If you have glance installed,this should also help you.

At the command prompt type glance

 
For processor speed try ...

if [ "$VER" -eq "10" ]
then
echo 'itick_per_usec/D'| adb /stand/vmunix /dev/kmem |tail -1
|awk '{print $2}'
else
echo 'itick_per_usec/D'| adb /stand/vmunix /dev/kmem |grep itick_per_usec|tail -1
|awk '{print $2}'
fi

Martin
 
Guys,

Thanks for the input on this.
I've been able to get most of what I needed.

Cheers,

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top