Understanding top and swapinfo command HP-UX
Hi!I am new to HP-UX having used Linux for several years.When I want to check server performance,I use the top and swapinfo command.In Linux,the results of top were quite easy to understand as it would clearly state the amount of free and used physical and virtual memory.For HP-UX,I am not so sure.If I check the top result below
$ top
System: aw1bdvrs Mon Jul 18 08:03:51 2011
Load averages: 0.04, 0.05, 0.06
516 processes: 472 sleeping, 44 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.03 7.5% 0.0% 1.0% 91.5% 0.0% 0.0% 0.0% 0.0%
2 0.04 1.0% 0.0% 3.2% 95.8% 0.0% 0.0% 0.0% 0.0%
4 0.05 7.1% 0.0% 4.6% 88.3% 0.0% 0.0% 0.0% 0.0%
6 0.02 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
8 0.07 2.0% 0.0% 2.8% 95.2% 0.0% 0.0% 0.0% 0.0%
10 0.04 2.8% 0.0% 1.0% 96.2% 0.0% 0.0% 0.0% 0.0%
12 0.04 4.8% 0.0% 1.4% 93.8% 0.0% 0.0% 0.0% 0.0%
14 0.07 6.3% 0.0% 1.0% 92.7% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.04 4.0% 0.0% 1.8% 94.2% 0.0% 0.0% 0.0% 0.0%
System Page Size: 4Kbytes
Memory: 13282568K (1729912K) real, 57718252K (5759048K) virtual, 23845192K free
Page# 1/104
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
2 ? 27474 oracle 154 20 52451M 8192K sleep 1:20 9.71 9.69 ora_j001_pr
14 ? 27495 oracle 154 20 52453M 8636K sleep 1:19 8.17 8.16 ora_j004_pr
4 ? 27482 oracle 154 20 52457M 9020K sleep 1:18 6.90 6.89 ora_j002_p74
What does
Memory: 13282568K (1729912K) real mean-the value 13282568K and 1729912K represents what part s of physical memory?
Also
57718252K (5759048K) virtual repsesents what values
And does
23845192K free represent the amount of free physical memory?
I would like to know from the above figures,which values represents value of free and used physical and virtual memory?
Also,please explain to me the various values of swapinfo shown below
$ swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8388608 7964 8380644 0% 0 - 1 /dev/vg00/lvol2
dev 16777216 8196 16769020 0% 0 - 1 /dev/vg00/swap
dev 25165824 7824 25158000 0% 0 - 1 /dev/vg00/swap2
dev 20971520 7324 20964196 0% 0 - 1 /dev/vg00/swap1
reserve - 57816448 -57816448
memory 63661264 10465664 53195600 16%
Thanks.