【进程状态转移图】
PROCESS STATE CODES
R running or runnable (on run queue)
D uninterruptible sleep (usually IO)
S interruptible sleep (waiting for an event to complete)
Z defunct/zombie, terminated but not reaped by its parent
T stopped, either by a job control signal or because
it is being traced
[...]
以上参考:https://unix.stackexchange.com/questions/96797/what-does-the-interruptible-sleep-state-indicate
【S态进程解释】使用命令:ps aux | grep Sl,可以看到一些处于Sl态的进程。那么这个是什么意思呢? < 高优先级 N 低优先级 L 有些页被锁进内存 s 包含子进程 + 位于后台的进程组; l 多线程,克隆线程 multi-threaded (using CLONE_THREAD, like NPTL pthreads do)以上参考:http://blog.csdn.net/flyingleo1981/article/details/7739490
【linux的信号】
Term:terminate the process 终止进程信号Ign:默认动作是,忽略该信号Core:默认动作是终止该进程,并打印core信息(参考core(5))Stop:默认动作是stop the process,暂停该进程Cont:默认动作是如果进程正在被stopped,则continue the process 更多的信号详解参考:http://man7.org/linux/man-pages/man7/signal.7.html
时间: 2024-10-10 12:33:24