Operating System - HP-UX
1833995 Members
3047 Online
110063 Solutions
New Discussion

Re: Information of CPU and Mem

 
SOLVED
Go to solution
alessandro_37
Advisor

Information of CPU and Mem

Dear All,
I need to know this information on HP-UX 11.0

G221 - PA-RISC 8000 Twin CPU (biprocessor)2MB cache

How can extract this information?

Thanks in advance
Alex



5 REPLIES 5
Chris Wilshaw
Honored Contributor

Re: Information of CPU and Mem

I assume you want the speed of the CPU, and amount of memory installed.

The simplest ways to get these are

CPU:

echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem

MEMORY:

grep Physical /var/adm/syslog/syslog.log
Naveej.K.A
Honored Contributor

Re: Information of CPU and Mem

hi alex,

Try out the model command also.
It will give what type of HPUX box you have got....

regds
Naveej
practice makes a man perfect!!!
Sundar_7
Honored Contributor

Re: Information of CPU and Mem

Hi,

Number of processors

# ioscan -fnkC processor

CPU speed

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

Total memory

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

Output is in pages. Multiply the output by 4 to get the total amount of memory in KB.

Processor type

# model
9000/800/XXX

# grep XXX /usr/sam/lib/mo/sched.models

Sundar


Sundar
Learn What to do ,How to do and more importantly When to do ?
Geoff Wild
Honored Contributor
Solution

Re: Information of CPU and Mem

Here's another script for you:

# hpmem
HP-UX pc0003 B.11.11 U 9000/800 2504392627 unlimited-user license
CPU Count: 6
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 10080 MB
bufpages: 806 MB
maxuprc: 800
maxvgs: 128
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 16384
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 8
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.
Geoff Wild
Honored Contributor

Re: Information of CPU and Mem

More detail - use SysInfo 3.01 by HP ESSO

DESCRIPTION

SysInfo collects configuration information about the current system.
It also checks for some common problems including stale mirrors (if
applicable). It sends its output to a logfile or to the display.

SysInfo is supported by the HP Services field ASC\'s and runs on
HP 9000 Servers, including 700/800 systems running HP\-UX 10.x and later.

I run it from cron:
# Run the sysinfo script
0 6 1 * * /usr/local/sysinfo/sysinfo -a -b -o /usr/tmp/`hostname`.sysinfo >/tmp/sysinfo.cron 2>&1

Rgds...Geoff

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.