1753823 Members
9135 Online
108805 Solutions
New Discussion юеВ

Re: top output

 
SOLVED
Go to solution
Shivkumar
Super Advisor

top output

Dear Sirs,

Below is the output of top command on hpux 11.00:

Memory: 429228K (50204K) real, 403044K (57312K) virtual, 6329840K free

Is real means physical Ram; vitual means sum of physical + swap; free means total free Ram ?

Also see the column headings:
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND

What are the column heading such as
NI, SIZE, RES and %WCPU stands for ?

Thanks in advance,
Shiv
8 REPLIES 8
Ranjith_5
Honored Contributor

Re: top output

Hi Shiv,

Explanations are as follows...

PRI

Current priority of the process.

NI

Nice value ranging from -20 to +20.

SIZE

Total virtual size of the process in kilobytes. This includes virtual sizes of text, data, stack, mmap regions, shared memory regions and IO mapped regions. This may also include virtual memory regions shared with other processes.

RES

Resident size of the process in kilobytes.It includes the sizes of all private regions in the process. The resident size information is, at best, an approximate value.

Regards,
Syam
Devesh Pant_1
Esteemed Contributor
Solution

Re: top output

Shiv,
I think you might find similar threads like
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=865669
Your question about other columns, I can give you something about the %WCPU is "Weighted cpu" average cpu for the process.
%CPU - % of time of cpu used
%WCPU - % of time waited for cpu

Have a look at this too
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080062799

thanks
DP

morganelan
Trusted Contributor

Re: top output

Hi,

For your really real physical ram try this:
#echo "selclass qualifier memory;info;wait;infolog"|cstm

The above command will show you how many memory slot and physical memory that plug on that slot
Kamal Mirdad
Yogeeraj_1
Honored Contributor

Re: top output

hi shiv,

concerning the %CPU and %WCPU:

The %WCPU is just a 'forecast' value for the process. It really has no real world value. It's value is totally controlled by the scheduler as part of its scheduling algorithm. It is in fact a weighted average over the last few minutes.

In contrast, %CPU is a "raw value" the total percentage without the 'forecast' factor built-in.

hope this helps too!
regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
morganelan
Trusted Contributor

Re: top output

CPU = Processor number on which the process is
executing (only on multi-processor
systems).


TTY = Terminal interface used by the process.

PID = Process ID number.

PSET = ID of the processor set to which the
processor belongs.This is shown only when -P option is used.

PRI = Current priority of the process

NI = Nice value ranging from -20 to +20

SIZE = Total size of the process in kilobytes.This includes text, data, and stack.

RES = Resident size of the process in kilobytes.The resident size information is, at best,an approximate value.


STATE = Current state of the process. The various states are sleep, wait, run, idl, zomb, orstop.

%WCPU = Weighted CPU (central processing unit) percentage.

%CPU = Raw CPU percentage. This field is used to sort the top processes.



Kamal Mirdad
Vibhor Kumar Agarwal
Esteemed Contributor

Re: top output

How about "man top".

It will give you each and every detail.
Vibhor Kumar Agarwal
Mahesh Kumar Malik
Honored Contributor

Re: top output

Hi Shiv

Following link may be of help

http://docs.hp.com/en/B2355-90690/top.1.html

Regards
Mahesh
Cem Tugrul
Esteemed Contributor

Re: top output

Shiv,

All other replies are really significant
also i believe the power of "top" command
and you really get very useful information
which indicates about your system but
sometimes "top" may route you wrongly
because of missed patch systems...
How????

Please go to my link;
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=724163

it is just an additon...

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't