HP-UX 11i v3 Memory Management Subsystem
12
The output from the top command shows a similar processor load to vmkona1, but there is much less physical
memory in the system and much less memory is free:
System: vmkona2 Fri Feb 26 13:52:27 2010
Load averages: 0.91, 0.94, 0.94
313 processes: 231 sleeping, 82 running
Cpu states: (avg)
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0.91 86.3% 0.0% 1.0% 12.7% 0.0% 0.0% 0.0% 0.0%
System Page Size: 4Kbytes
Memory: 18974472K (14635652K) real, 43317892K (33395812K) virtual, 123284K free
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
21 ? 3989 oracle 128 20 40427M 6296K sleep 0:00 4.09 4.06 oracleor
17 ? 125 root 152 20 32760K 29120K run 147:46 1.57 1.56 vxfsd
53 ? 2372 root 152 20 54388K 9064K run 15:54 0.27 0.27 cimserve
20 ? 2639 root -16 20 294M 263M run 52:19 0.26 0.26 midaemon
2 ? 22129 oracle 154 20 40436M 13608K sleep 0:27 0.22 0.21 ora_j000
50 pts/ta 3912 oracle 178 20 8144K 908K run 0:00 0.20 0.20 top
36 ? 2375 root 152 20 40256K 540K run 36:54 0.09 0.09 cimprova
39 ? 127 root 152 20 2376K 2112K run 26:31 0.06 0.06 pm_sched
39 ? 21539 oracle 152 20 570M 69136K run 9:48 0.06 0.06 java
0 ? 2261 root 154 20 10852K 540K sleep 9:26 0.05 0.05 sendmail
22 ? 2644 root 127 20 50044K 4368K sleep 5:19 0.03 0.03 scopeux
0 ? 16700 oracle 154 20 40424M 3008K sleep 6:33 0.02 0.02 ora_mmn
The output from the swapinfo command shows that there has been sufficient memory pressure to use swap space
on both of the available disk devices.
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 329 7863 4% 0 - 1 /dev/vg00/lvol2
dev 133120 329 132791 0% 0 - 1 /dev/swap/swaplv1
reserve - 40316 -40316
memory 30915 12266 18649 40%
total 172227 53240 118987 31% - 0 -
Note that the two swap devices have the same priority, and so have been used equally; each reporting 329 MB of
space used. Another 40316 MB of swap space is reserved, but the smaller swap device isn't large enough to take
half of it. This would force unequal distribution across the two devices. It is better to use devices of the same size in
order to maintain equal balance.