Thursday, June 2, 2011

Killing Zombies

Well, the word zombie means it is already dead but not quite so... This entry is about really "killing" the zombie processes.

running "top" lists up the zombie processes (marked by "Z" in status column) and also the total number of zombie processes.

To list zombie processes do:
ps aux | awk '{ print $8 " " $2 }' | grep -w Z


kill -9 pid
might also work.


Reference

No comments:

Post a Comment

Continuously monitor GPU usage

 For nvidia GPUs do the follwing: nvidia-smi -l 1