进程状态代码及说明: STATE代码 说明 D 不可中断的睡眠. 通常是处于I/O之中. R 运行中/可运行. 正处于运行队列中. S 可中断的睡眠. 等待某事件发生. T 已停止. 可能是因为shell作业控制或进程正被调试. W 分页中. 不适用于内核2.6.xx及以后的版本. X 死亡. 再也不会出现. Z 死/僵尸进程. < 高优先级任务. N 低优先级任务. L 有分页内存被锁定到内存中. 用于实时任务和自定义I/O. s 会话期首进程. l 属多线程进程. 就像pthreads那样的…
Here are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display to describe the state of a process. D Uninterruptible sleep (usually IO) R Running or runnable (on run queue) S Interruptibl…
转自:http://www.cnblogs.com/itech/p/3208261.html 来自: http://blog.csdn.net/tianlesoftware/article/details/6457487 Linux是一个多用户,多任务的系统,可以同时运行多个用户的多个程序,就必然会产生很多的进程,而每个进程会有不同的状态. 在下文将对进程的 R.S.D.T.Z.X 六种状态做个说明. PROCESS STATE CODES Here are the different val…
Linux是一个多用户,多任务的系统,可以同时运行多个用户的多个程序,就必然会产生很多的进程,而每个进程会有不同的状态. 在下文将对进程的 R.S.D.T.Z.X 六种状态做个说明. PROCESS STATE CODES Here are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display to describe…
引言 Linux是一个多用户,多任务的系统,可以同时运行多个用户的多个程序,就必然会产生很多的进程,而每个进程会有不同的状态. 在下文将对进程的R.S.D.T.Z.X 六种状态做个说明. PROCESS STATE CODES Here are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display to descri…
进程状态详细说明 Linux进程状态详细解析 ps 的参数说明 ps 提供了很多的选项参数,常用的有以下几个: l 长格式输出: u 按用户名和启动时间的顺序来显示进程: j 用任务格式来显示进程: f 用树形格式来显示进程: a 显示所有用户的所有进程(包括其它用户): x 显示无控制终端的进程: r 显示运行中的进程: ww 避免详细参数被截断: 我们常用的选项是组合是 aux 或 lax,还有…