mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-03 23:40:14 +08:00
modify
This commit is contained in:
parent
36c48afc1d
commit
a55029a9f6
@ -124,7 +124,7 @@ ps命令支持三种使用的语法格式
|
|||||||
|
|
||||||
能够与**-e 参数** 一起使用的关键字是**args, cmd, comm, command, fname, ucmd, ucomm, lstart, bsdstart and start**。
|
能够与**-e 参数** 一起使用的关键字是**args, cmd, comm, command, fname, ucmd, ucomm, lstart, bsdstart and start**。
|
||||||
|
|
||||||
### 9. 格式化输出root用户创建的进程
|
### 9. 格式化输出root用户创建的进程 ###
|
||||||
|
|
||||||
系统管理员想要查看由root用户运行的进程和这个进程的其他相关信息时,可以通过下面的命令:
|
系统管理员想要查看由root用户运行的进程和这个进程的其他相关信息时,可以通过下面的命令:
|
||||||
|
|
||||||
@ -142,7 +142,7 @@ While the **-u paramater** will select by effective user ID (EUID)
|
|||||||
|
|
||||||
![show real and effective User ID](http://blog.linoxide.com/wp-content/uploads/2014/10/ps_root_real_effective_ID.png)
|
![show real and effective User ID](http://blog.linoxide.com/wp-content/uploads/2014/10/ps_root_real_effective_ID.png)
|
||||||
|
|
||||||
### 10. 使用PS实时监控进程状态
|
### 10. 使用PS实时监控进程状态 ###
|
||||||
|
|
||||||
ps 命令会显示你系统当前的进程状态,但是这个结果是静态的。
|
ps 命令会显示你系统当前的进程状态,但是这个结果是静态的。
|
||||||
当有一种情况,我们需要想上面第四点中提到的通过CPU和内存的使用率来过滤进程。并且我们希望结果能够每秒更新一次。为此,我们可以**将ps命令和watch命令结合起来**。
|
当有一种情况,我们需要想上面第四点中提到的通过CPU和内存的使用率来过滤进程。并且我们希望结果能够每秒更新一次。为此,我们可以**将ps命令和watch命令结合起来**。
|
||||||
|
Loading…
Reference in New Issue
Block a user