cpu的计算 ps cpu的定义 man page中给出的定义: cpu utilization of the process in "##.#" format. Currently, it is the CPU time used divided by the time the process has been running (cputime/realtime ratio), expressed as a percentage. It will not add up to 100%…
ps:report a snapshot of the current processes. ps 命令支持三种使用的语法格式 UNIX 风格,选项可以组合在一起,并且选项前必须有"-"连字符 BSD 风格,选项可以组合在一起,但是选项前不能有"-"连字符 GNU 风格的长选项,选项前有两个"-"连字符 0. 简介 pkill 与 kill 功能类似,区别在于默认情况下,pkill 接受的是进程名,而非进程id: top 与 ps -aux –s…