歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> linux top命令的TIME/TIME+值

linux top命令的TIME/TIME+值

日期:2017/3/3 17:01:03   编辑:關於Linux

  top命令的TIME/TIME+是指的進程所使用的CPU時間,不是進程啟動到現在的時間,因此,如果一個進程使用的cpu很少,那即使這個進程已經存在N長時間,TIME/TIME+也是很小的數值。

  此外,如果你的系統有多個CPU,或者是多核CPU的話,那麼,進程占用多個cpu的時間是累加的。

  top的manual page:

  看看他的幫助說明:

  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秒,是按位來計算的。

Copyright © Linux教程網 All Rights Reserved