Understanding top in HP-UX


 
Thread Tools Search this Thread
Operating Systems HP-UX Understanding top in HP-UX
# 1  
Old 07-18-2011
Understanding top in HP-UX

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

Code:
$ 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

Code:
$ 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.

Last edited by pludi; 07-18-2011 at 04:55 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Understanding cpu consumption with TOP

Hi please see attached picture of the TOP command. the "java" process seem to consume 700% of cpu is that mean that he uses 100% of every 7 cpu cores? thanks (2 Replies)
Discussion started by: guy3145
2 Replies

2. Shell Programming and Scripting

Need your help in understanding this

Hi, I found this in a script and I would like to know how this works Code is here: # var1=PART1_PART2 # var2=${var1##*_} # echo $var2 PART2 I'm wondering how ##* makes the Shell to understand to pick up the last value from the given. (2 Replies)
Discussion started by: sathyaonnuix
2 Replies

3. HP-UX

Understanding "top" command

Hi all, I need a clarification about the top command in HP-UX. If I run: top -s300 I see the screen refresh every 5 minutes. From the "man top" I understand that the values displayed every 5 minutes are instantaneous, not average on the previous 5 minutes. Is this interpretation correct? ... (3 Replies)
Discussion started by: Evan
3 Replies

4. UNIX for Dummies Questions & Answers

understanding {%/*}/

Hi Gurus: I am trying to understand the following line of code.I did enough of googling to understand but no luck.Please help me understand the follow chunk of code: X=$0 MOD=${X%/*}/env.ksh X is the current script from which I am trying to execute. Say if X=test.ksh $MOD is echoing :... (3 Replies)
Discussion started by: vemana
3 Replies

5. Shell Programming and Scripting

Understanding the output of TOP

ok, so I have a script im running on a linux box that uses "egrep" a lot. now, when i run this script, i check the TOP to see how much system resource it is using. the "top" command gives the following output: last pid: 25384; load avg: 1.06, 1.04, 0.76; up 351+06:30:24 ... (0 Replies)
Discussion started by: SkySmart
0 Replies

6. Shell Programming and Scripting

need help understanding mv

I just started shell coding and I'm a bit confused on how 'mv' works can someone explain to me how it works and if i did this correctly. Thanks. echo "Enter Name of the first file:" read file1 #echo $file1 if ; then echo "Sorry, file does not exist." exit 1 ... (16 Replies)
Discussion started by: taiL
16 Replies

7. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

8. AIX

Top command in AIX 4.2 (no topas, no nmon, no top)?

Is there a 'top' command equivalent in AIX 4.2 ? I already checked and I do not see the following ones anywhere: top nmon topas (1 Reply)
Discussion started by: Browser_ice
1 Replies

9. UNIX for Dummies Questions & Answers

How Can I Have Top Display The Top 20 Processes??

how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number. top -n 20 i want to save this output to a file... (1 Reply)
Discussion started by: TRUEST
1 Replies
Login or Register to Ask a Question