Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Understanding Top output

Status
Not open for further replies.
Apr 30, 2003
56
0
0
US
I tried man top and the system says no manual entry for top.
I am not an OS person. I am trying to understand the TOP output

load averages: 0.25, 0.25, 0.25; up 249+00:47:10 16:04:26
173 processes: 171 sleeping, 1 zombie, 1 on cpu
CPU states: 96.9% idle, 2.3% user, 0.8% kernel, 0.0% iowait, 0.0% swap
Memory: 8192M phys mem, 2779M free mem, 16G total swap, 16G free swap

PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
21687 oracle 11 52 0 1021M 1004M sleep 50:57 1.11% oracle
20482 oracle 11 59 0 1021M 1004M sleep 51:35 0.99% oracle
7540 root 1 44 0 7832K 3856K sleep 0:00 0.08% scha_resource_g
2437 root 111 59 0 160M 140M sleep 519:27 0.04% java
257 oracle 1 59 0 1020M 1001M sleep 187:23 0.03% oracle
200 root 1 44 0 21M 18M sleep 21:04 0.02% oracle_listener
7513 oracle 1 59 0 3632K 2232K cpu/3 0:00 0.01% top
7539 root 1 44 0 21M 5400K sleep 0:00 0.01% oracle_listener
854 noaccess 39 59 0 213M 190M sleep 128:56 0.01% java
274 oracle 11 59 0 1023M 1002M sleep 15:35 0.01% oracle
246 oracle 1 101 -20 1018M 999M sleep 37:20 0.00% oracle
268 oracle 11 59 0 1020M 1001M sleep 31:53 0.00% oracle
276 oracle 1 59 0 1018M 1000M sleep 66:40 0.00% oracle
1700 root 22 100 -20 48M 2760K sleep 16:53 0.00% rpc.pmfd
241 oracle 1 59 0 1019M 1000M sleep 20:26 0.00% oracle

What does LWP, PRI, and NICE mean? Why does NICE has negative value? Is the negative value good or bad? Please advice. Thank you very much.
 
Hi you will probably find that TOP is not an Oracle (Solaris) default tool and you should probably look at "prstat" which is similar and just as useful.

However, you can find out what version of top is installed on your Solaris machine with

Code:
$ top -v

Or identify the package installed that provides top for you with one of the following;

Code:
$ pkginfo -l | grep top 

expect lots to sort through but probably at the beginning it will be SMCtop if so  ...

$ pkginfo -l SMCtop

Once you have the version (or package0 go Google for exact man pages for that version.

IHTH

Laurie.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top