↧
Answer by eMPee584 for How to find zombie process?
While both dlambin's and Sorpigal's answers are excellent and accomplish the job nicely, I just wanted to document my finding of how to use awk to find the STAT column when changing between ps output...
View ArticleAnswer by 6a5h4 for How to find zombie process?
why we're not telling "ps" what info we want to get provided? let's have a try:read zSTAT zPPID zPID zSTAT zCMD <<< $(ps -xao stat,ppid,pid,cmd|awk '$1=="Z" {print $1" "$2" "$3" "$4}')[[ ! -z...
View ArticleAnswer by Marco for How to find zombie process?
I usually find them on my server withps aux | grep 'defunct'
View ArticleAnswer by dlamblin for How to find zombie process?
Less is more though:ps afuwwx | less +u -p'^(\S+\s+){7}Z.*'That's like, give me a forest (tree) of all users' processes in a user oriented format with unlimited width on any tty and show it to me at...
View ArticleAnswer by kenorb for How to find zombie process?
To list process zombies, try this command:ps j | awk '$7 ~ "Z"'You may need to change $7 depending on your operating system.This also will return the list of their parent process ids (PPID).To try to...
View ArticleAnswer by Peycho Dimitrov for How to find zombie process?
I suggest you this command:ps aux | awk '"[Zz]" ~ $8 { printf("%s, PID = %d\n", $8, $2); }'
View ArticleAnswer by Sorpigal for How to find zombie process?
Even though this question is old I thought everyone deserved a more reliable answer:ps axo pid=,stat=This will emit two whitespace-delimited columns, the first of which is a PID and the second of which...
View ArticleAnswer by Duncanmoo for How to find zombie process?
To kill a zombie (process) you have to kill its parent process (just like real zombies!), but the question was how to find it.Find the zombie (The question answered this part):a@SERVER:~$ ps aux | grep...
View ArticleAnswer by Rinzwind for How to find zombie process?
ps aux | awk '{ print $8 "" $2 }' | grep -w ZFrom: http://www.cyberciti.biz/tips/killing-zombie-process.htmlFrom the comments an improved one:for p in $(ps jauxww | grep Z | grep -v PID | awk '{print...
View ArticleHow to find zombie process?
System information as of Fri Mar 9 19:40:01 KST 2012 System load: 0.59 Processes: 167 Usage of /home: 23.0% of 11.00GB Users logged in: 1 Swap usage: 0% IP address for eth1: 192.168.0.1 => There is...
View Article
More Pages to Explore .....