2022-10-07# linux top命令的TIME/TIME+值

top命令的TIME/TIME+是指的进程所使用的CPU时间,不是进程启动到现在的时间,因此,如果一个进程使用的cpu很少,那即使这个进程已经存在N长时间,TIME/TIME+也是很小的数值。

此外,如果你的系统有多个CPU,或者是多核CPU的话,那么,进程占用多个cpu的时间是累加的。

top的manual page:http://linux.die.net/man/1/top
看看他的帮助说明:
l: TIME — CPU Time
Total CPU time the task has used since it started. When ‘Cumulative mode’ is On, each process is listed with the cpu time that it and its dead children has used. You toggle ‘Cumulative mode’ with ‘S’, which is a command-line option and an interactive command. See the ‘S’ interactive command for additional information regarding this mode.
m: TIME+ — CPU Time, hundredths
The same as ‘TIME’, but reflecting more granularity through hundredths of a second.

2:32.45代表多长时间啊

从右到左分别是百分之一秒,十分之一秒,秒,十秒,分钟

这个就是2分钟,30秒,2秒,十分之4秒,百分之5秒,是按位来计算的。

注:内容来源于网络收集,如果侵犯到您的权益,请联系删除。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • TOP是一个动态显示过程,即可以通过用户按键来不断刷新当前状态.如果在前台执行该命令,它将独占前台,直到用户终止该...
    canyoungerz阅读 4,675评论 0 0
  • # 切换目录 cd # 示例 # 切换到上一层目录 cd .. # 切换到/opt/software cd /op...
    羞涩的二黄阅读 4,101评论 0 0
  • 一、前言   top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况,类似于Wind...
    骑着乌龟去看海阅读 6,972评论 2 7
  • 1.1 top: top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况 top命令...
    满山李子阅读 4,276评论 0 0
  • Help for Interactive Commands - procps version 3.2.8 Wind...
    HelloWorld_26阅读 3,671评论 0 0