LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 03-11-2009, 07:12 PM   #1
shivanrathore
Member
 
Registered: Apr 2008
Posts: 33

Rep: Reputation: 15
TOP -- Zombie


MY top command linux throws this result : I see one zoobie

top - 06:01:42 up 1 day, 17:13, 1 user, load average: 0.41, 0.24, 0.16
Tasks: 119 total, 2 running, 116 sleeping, 0 stopped, 1 zombie
Cpu(s): 6.7%us, 0.8%sy, 0.0%ni, 92.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1025820k total, 990228k used, 35592k free, 170912k buffers
Swap: 2031608k total, 124k used, 2031484k free, 478488k cached


is This any suspecious ? how can i find out ?
 
Old 03-11-2009, 07:23 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,610
Blog Entries: 47

Rep: Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413
I use this Bash shell function to find out:
Code:
ps_zombie() { 
    /bin/ps ax -eostate,pid,ppid --sort=state 2>/dev/null | grep ^Z | while read zombie pid ppid; do
        echo "Found zombie PID: $pid PPID: $ppid";
    done; }
but of course you can just execute the ps.*done part.
 
Old 03-11-2009, 07:38 PM   #3
shivanrathore
Member
 
Registered: Apr 2008
Posts: 33

Original Poster
Rep: Reputation: 15
i don't understand .. can you please little elaborate me
 
Old 03-11-2009, 07:48 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,610
Blog Entries: 47

Rep: Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413
Please be more specific about what needs clarification.
 
Old 03-11-2009, 08:26 PM   #5
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, FreeBSD, OpenBSD, Mac OS X , Backtrack, Ubuntu on a Dell Mini 9
Posts: 780
Blog Entries: 8

Rep: Reputation: 155Reputation: 155
This is a zombie process

http://en.wikipedia.org/wiki/Zombie_process

"the child process has died but has not yet been reaped."

IMO, this isn't a security issue or any issue in general.

Give it time and the system will eventually clean up the zombie process (meaning, you won't see it again).
 
Old 03-11-2009, 11:14 PM   #6
sundialsvcs
Senior Member
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 3,685

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
As the Wikipedia article long-windedly describes, when a process terminates, it briefly remains as a "zombie" until (and so that...) its parent can collect status-information from it.

If the parent has died, then the always-running init process serves as the "grim reaper."

You don't need to worry about zombies. At least, not until next Friday (the 13th!).
 
Old 03-12-2009, 04:36 AM   #7
T74marcell
Member
 
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
It is not unusual to have 1 zombie process around. If you have many more such processes for a longer period around, then there is a problem, but even so the problem is rather (though not necessarily) in the parent process. The parent process does exist by definition, otherwise we wouldn't talk about zombie processes, but rather call them orphaned processes.

Arch Linux

Last edited by T74marcell; 03-14-2009 at 01:11 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zombie port? edenCC Linux - Server 2 03-30-2007 04:48 PM
Zombie processes Ynot Irucrem General 2 01-11-2007 12:23 AM
Top reports 1 zombie - which one? Yalla-One Slackware 2 08-06-2006 01:14 PM
zombie nyk Linux - Software 5 10-27-2004 08:29 PM
zombie processes mhr Linux - Newbie 1 06-19-2003 09:49 PM


All times are GMT -5. The time now is 04:46 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration