码迷,mamicode.com
首页 > 其他好文 > 详细

top命令

时间:2015-09-01 18:13:38      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:

系统平均负载被定义为在特定时间间隔内运行队列中的平均进程数量。

 

技术分享

 

load average: 0.17, 0.44, 0.24    在过去的1、5、15分钟内运行队列中的平均进程数量

 

Cpu(s):  0.4%us,  0.4%sy,  0.0%ni, 97.5%id,  1.1%wa,  0.4%hi,  0.4%si,  0.0%st

1.用户空间占用CPU的百分比  

2.内核空间占用CPU的百分比  

3.改变过优先级的进程占用CPU的百分比

4.空闲CPU百分比

5.IO等待占用CPU的百分比

6.硬中断(Hardware IRQ)占用CPU的百分比

7.软中断(Software Interrupts)占用CPU的百分比

 

 

PR: 

  The priority of the task.

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 dis-
patchability.

VIRT: kb

  The total amount of virtual memory used by the task. It includes all code, data and shared libraries plus
pages that have been swapped out. (Note: you can define the STATSIZE=1 environment variable and the VIRT will
be calculated from the /proc/#/state VmSize field.)

RES: kb

  The non-swapped physical memory a task has used.

SHR: kb

  The amount of shared memory used by a task. It simply reflects memory that could be potentially shared with
other processes.

%CPU:

  The task’s share of the elapsed CPU time since the last screen update, expressed as a percentage of total CPU
time. In a true SMP environment, if ’Irix mode’ is Off, top will operate in ’Solaris mode’ where a task’s cpu
usage will be divided by the total number of CPUs. You toggle ’Irix/Solaris’ modes with the ’I’ interactive
command.

%MEM: (RES)

  A task’s currently used share of available physical memory.

TIME+: CPU Time, hundredths

  The same as ’TIME’, but reflecting more granularity through hundredths of a second.

COMMAND:

  Command line or Program name.

 

相似命令: uptime, w , tload

 

top命令

标签:

原文地址:http://www.cnblogs.com/foreverstars/p/4776428.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!