commit 70638c0f7b7c6272fd11bee5dcb7afaa0f047b5e parent a48364b95d69675cd3fa1ad3da6b6582bc95b753 Author: pyratebeard <root@pyratebeard.net> Date: Fri, 14 Dec 2018 17:24:52 +0000 processes page. command for checking zombie processes Diffstat:
M | technology/linux/general/index.md | | | 1 | + |
A | technology/linux/general/processes.md | | | 9 | +++++++++ |
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/technology/linux/general/index.md b/technology/linux/general/index.md @@ -9,6 +9,7 @@ - [man_pages](man_pages) - [mpd](mpd) - [mpv](mpv) +- [processes](processes) - [python](python) - [rtv](rtv) - [ssh](ssh) diff --git a/technology/linux/general/processes.md b/technology/linux/general/processes.md @@ -0,0 +1,9 @@ +# processes + +## zombies +check the number of [zombie processes][] +``` +ps aux | awk '$8 ~ /Z/ { print }' | wc -l +``` + +[zombie processes]: https://www.howtogeek.com/119815/htg-explains-what-is-a-zombie-process-on-linux/