Linux 进程状态介绍
生活随笔
收集整理的這篇文章主要介紹了
Linux 进程状态介绍
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文章目錄
- 進程狀態說明
- 進程狀態圖
進程狀態說明
進程主狀態:D:不可中斷的睡眠狀態 uninterruptible sleeping(usually IO)R:正在運行,或在隊列中的 running or runnable (on run queue)S:處于休眠狀態 interruptible sleep (waiting for an event to complete)T:停止狀態 stopped by job control signalt:被追蹤狀態 stopped by debugger during the tracingZ 僵尸進程。defunct ("zombie") process, terminated but not reaped by its parentW:進入內存交換(從內核2.6開始無效)paging (not valid since the 2.6.xx kernel)X:死掉的進程 dead (should never be seen)O:進程正在處理器運行,這個狀態從來沒有見過B:進程正在等待更多的內存頁進程子狀態:<:高優先級 high-priority (not nice to other users)N:低優先級 low-priority (nice to other users)L:有些頁被鎖進內存 has pages locked into memory (for real-time and custom IO)s 包含子進程 is a session leader+ 位于前臺的進程組 is in the foreground process groupl 多線程,克隆線程 multi-threaded (using CLONE_THREAD, like NPTL pthreads do)進程狀態圖
圖一:
圖二:
總結
以上是生活随笔為你收集整理的Linux 进程状态介绍的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 石油裂化是物理变化还是化学变化 石油裂化
- 下一篇: Linux 命令之 rm -- 删除文件