- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- To Determine System Configuration-(No of CPUs, the...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:44 AM
03-16-2006 01:44 AM
To Determine System Configuration-(No of CPUs, their speed, RAM, No of Hard disks, their capacity).
We have around 15 HP-Unix servers in our lab. I am new to HP-Unix. I have been assigned a task to determine hardware configuration of these servers. Please suggest some commands that would give the following information:
1. Type and No of CPU's, also their speed,
2. Amount of RAM.
3. No of Hard disk and their size.
Thanks & Regards,
-GnanaShekar-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:47 AM
03-16-2006 01:47 AM
Re: To Determine System Configuration-(No of CPUs, their speed, RAM, No of Hard disks, their capacity).
One stop solution, If you have ignite installed, run
# /opt/ignite/bin/print_manifest
It will give you all information you want.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:58 AM
03-16-2006 01:58 AM
Re: To Determine System Configuration-(No of CPUs, their speed, RAM, No of Hard disks, their capacity).
for a graphics layout of your machine:
/usr/sbin/xstm
and to get more detailed info for each device, use the System Admin Tool sam.
Commands:
Number of processors:
echo runningprocs/D | adb -k /stand/vmunix /dev/mem
Speed of CPUs:
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
Memory:
dmesg | grep -i physical
Disks:
ioscan -fnC disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:03 AM
03-16-2006 02:03 AM
Re: To Determine System Configuration-(No of CPUs, their speed, RAM, No of Hard disks, their capacity).
http://groups.yahoo.com/group/cfg2html/
A script:
# cat /usr/local/bin/hpmem
#!/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 $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
ver=$(uname -r | cut -d. -f3)
# if 11iv2 or higher - get memory this way
if ((ver > 22)); then
kernel=$(/usr/sbin/kcpath -x)
hexval=$(echo "phys_mem_pages/A" | adb $kernel /dev/kmem|tail +2|awk '{print $2}')
REAL_MEM=$(echo ${hexval}=D|adb)
mb=$(expr ${REAL_MEM} / 256)
else
let mb=kval*4/1024 # convert pages to MB
fi
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 "nproc"
print nproc: $kval
GetKernelSymbol "ninode"
print ninode: $kval
GetKernelSymbol "vfd_cw"
print shmmax: $kval
GetKernelSymbol "shmmni"
print shmmni: $kval
GetKernelSymbol "dbc_max_pct"
print dbc_max_pct: $kval
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:07 AM
03-16-2006 02:07 AM
Re: To Determine System Configuration-(No of CPUs, their speed, RAM, No of Hard disks, their capacity).
You can download the sysinfo app from this site it will give you the info you want and more
http://gatekeep.cs.utah.edu/hppd/cgi-bin/search?package=on&description=on&term=sysinfo
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:10 AM
03-16-2006 02:10 AM
Re: To Determine System Configuration-(No of CPUs, their speed, RAM, No of Hard disks, their capacity).
you can also query some of these information using SAM -> disk and file systems
or SAM -> Performance monitors -> System Properties
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:16 AM
03-16-2006 02:16 AM
Re: To Determine System Configuration-(No of CPUs, their speed, RAM, No of Hard disks, their capacity).
You can use:
# /opt/ignite/bin/print_manifest
Or using getconf is possible get some information. See man page from getconf
# man getconf
Schimidt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:20 AM
03-16-2006 02:20 AM
Re: To Determine System Configuration-(No of CPUs, their speed, RAM, No of Hard disks, their capacity).
Visit the following link, You have 2 good tools which is handy for future also..
http://h20331.www2.hp.com/Hpsub/cache/286022-0-0-225-121.html
1)nickel : when the script runs, it creates a html outputs. Its a friendly and tacky way of seeing the info about the system in GUI.Very extensive.
2)sysinfo : Prints cool info, which you wanted on the terminal.
Regards,
Senthil Kumar .A