1830877 Members
1694 Online
110017 Solutions
New Discussion

Re: System Info

 
SOLVED
Go to solution

System Info

I need to get a complete set of info regarding our HP servers. Like total Memory, Number of Processor and speed, and hard drive size etc. I try Sam, but I was not able to get any info regarding memory and Processor through Sam. How can I get this info from the server? Is there a command line procedure? Could some one help me with this please?
no personal quote
11 REPLIES 11
harry d brown jr
Honored Contributor

Re: System Info

/opt/ignite/bin/print_manifest

is a good start.

live free or die
harry
Live Free or Die
Cheryl Griffin
Honored Contributor

Re: System Info

This link was just given in a message posted in the last 2 days
http://members.tripod.com/rose_swe/cfg/cfg.html

Cheryl
"Downtime is a Crime."
harry d brown jr
Honored Contributor

Re: System Info

and this thread has a lot of good ideas:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xee8293e260b0d611abdb0090277a778c,00.html


live free or die
harry
Live Free or Die
Sebastian Galeski_1
Trusted Contributor

Re: System Info

use:
- ioscan -fn
- dmesg
- diskinfo
- bdf
- echo itick_per_usec/D | /usr/bin/adb -k /stand/vmunix /dev/kmem : for cpu speed
- lanscan
- swlist
- swapinfo -mt
- vgdisplay
- lvdisplay
- model
- uname -a

hope it help You
regards Seba
Sajid_1
Honored Contributor

Re: System Info

From SAM- Prformance monitors-System Properties
# print_manifest (if you have ignite installed)
# dmesg
# stm
# sysdef
# top
# ioscan -fkC processor
# ioscan -fnC disk
# SAM - disk and file systems
learn unix ..
Rajasekhar Raman
Frequent Advisor
Solution

Re: System Info

Download and run "sysinfo". You can get it from
http://www.magnicomp.com/sysinfo/

It is a utility that will give you the following info:

Not only does SysInfoTM provide very deep levels of information but it also provides a very wide breadth of knowledge. Including, but not limited to:

* Hardware (device) information
* Software information
* Storage (disk) partitions
* Kernel parameters
* System configuration parameters
* Printer Queues
* Application architecture
* CPU type
* Host ID
* Host name aliases
* Host name
* Host network addresses
* Kernel architecture
* Kernel version
* Main memory (RAM)
* Manufacturer of the system's hardware
* Operating system distribution
* Operating system name
* Operating system version
* System model name
* System serial number

All the best

-Shekar
someone_4
Honored Contributor

Re: System Info

Try the good ole nickel script it will tell you everything and more then you would want to know about a system and it is all output to html pages. Very cool very helpfull.

ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/inventory/nickel/


I have also attached the nightowl script it is all text format not html.

~ Richard
Geoff Wild
Honored Contributor

Re: System Info

If you want the output in html, try this:

http://come.to/cfg2html

The nice thing is that it runs on multiple platforms.

Rgds...Geoff

PS:

Here's a script to get some basic info:

#!/bin/ksh
#
# Taken from the HP/UniGraphics FAQ
# You must be ROOT to execute this since it uses adb to
# examine the running kernel
#
GetKernelSymbol()
{
echo "$1/D" | adb -k $hpux /dev/kmem | tr "\012" " " | read junk junk2 kval
}
hpux=/hp-ux
rev=$(uname -r | cut -d. -f2)
if ((rev > 9)); then hpux=/stand/vmunix ;fi
/bin/uname -a
GetKernelSymbol "processor_count"
print CPU Count: $kval
GetKernelSymbol "itick_per_tick"
let speed=kval/10000
print CPU Speed: $speed MHz
if ((rev > 10)); then
print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit
print Kernel Support: `getconf KERNEL_BITS`-bit
GetKernelSymbol "memory_installed_in_machine"
else
GetKernelSymbol "physmem"
fi
let mb=kval*4/1024 # convert pages to MB
print RAM Size: $mb MB
GetKernelSymbol "bufpages"
let mb=kval*4/1024 # convert pages to MB
print bufpages: $mb MB
GetKernelSymbol "maxuprc"
print maxuprc: $kval
GetKernelSymbol "maxvgs"
print maxvgs: $kval
GetKernelSymbol "maxfiles"
print maxfiles: $kval
GetKernelSymbol "max_thread_proc"
print max_thread_proc: $kval
GetKernelSymbol "nfile"
print nfile: $kval
GetKernelSymbol "nflocks"
print nflock: $kval
GetKernelSymbol "nproc"
print nproc: $kval
GetKernelSymbol "ninode"
print ninode: $kval
GetKernelSymbol "vfd_cw"
print shmmax: $kval
GetKernelSymbol "shmmni"
print shmmni: $kval
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Joaquin Gil de Vergara
Respected Contributor

Re: System Info

try this script!
Teach is the best way to learn
Ron Barnett
Occasional Advisor

Re: System Info

You can also use Glance to get some of the information about your server.
Deshpande Prashant
Honored Contributor

Re: System Info

HI
You can find Sysinfo at following link also.

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/

Prashant.
Take it as it comes.