Top command is used to display system summary information,as well as a list of processes or threads currently being managed by the kernel.the types of system summary information shown and the types,order and size of information displayed for task are all user-configurable.
$top [option]
Sr.No |
Field |
Descriptions |
---|---|---|
01 |
PID |
process id |
02 |
USER |
the effective user name of the task's owner |
03 |
PR |
the priority of the task |
04 |
NI |
the nice value of the task.a negative nice value means higher priority,whereas a positive nice value means lower priority.zero in this field simply means priority will not be adjusted in determining a task's dispatchability |
05 |
%CPU |
the task's share of the elapsed CPU time since the last screen update,expressed as a percentage of total CPU time. |
06 |
%MEM |
a task's currently used share of available physical memory |
07 |
TIME+ |
total CPU time the task has used since it started |
08 |
S |
the status of the task which can be one of : 'D' = uninterruptible sleep, 'R' = running 'S' = sleeping, 'T' = traced or stopped, 'Z' = zombie |
09 |
RES |
the non-swapped physical memory a task has used |
10 |
SHR |
the amount of shared memory used by a task |
11 |
Command |
display the command line used to start a task or the name of the associated program |