The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Identifying and grouping OS processes and APP processes wilsonee SUN Solaris 2 6 Days Ago 06:26 AM
Monitoring Processes - Killing hung processes ukndoit UNIX for Advanced & Expert Users 4 01-17-2008 12:30 AM
monitoring running processes nhatch Shell Programming and Scripting 2 12-21-2007 05:03 AM
waiting mpang_ Shell Programming and Scripting 1 10-03-2007 10:52 PM
Monitoring processes of another host Andimotz80 Shell Programming and Scripting 5 07-10-2006 05:43 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2008
Registered User
 

Join Date: Aug 2008
Posts: 12
Stumble this Post!
monitoring 'waiting' processes

Is it possible to monitor processes whether they are waiting or active? Basically I would like to know since which TIME the process has been running and the state.

Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-07-2008
ynilesh's Avatar
Registered User
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 174
Stumble this Post!
Code:
top
command.
Reply With Quote
  #3 (permalink)  
Old 08-07-2008
Registered User
 

Join Date: Aug 2008
Posts: 12
Stumble this Post!
processes

Quote:
Originally Posted by ynilesh View Post
Code:
top
command.
I meant...
1. how do I distinguish between active and waiting processes?
2. within man ps I brought up a few options say, TIME but I'm not sure how to use them, any ideas?
3. how do I query 'zombie' processes?


OSs
------------
Linux Based i.e. CentOS 4.x, RedHat Linux (various versions)
Solaris 5.10

Last edited by jon80; 08-07-2008 at 10:16 AM. Reason: update #1
Reply With Quote
  #4 (permalink)  
Old 08-07-2008
Registered User
 

Join Date: Mar 2006
Posts: 141
Stumble this Post!
Quote:
3. how do I query 'zombie' processes?
Depending on the ps/OS zombies are either listed as <defunct> (on most Unices),
or simply as zombie.
You cannot query them because these are already dead (finished) processes
whose parent procs already exited without caring for their exit status.
The occurrence of zombies is most of the times an indication of badly
programmed applications.
You should at least file a bug report with their developers,
but even better not use these programs anymore.
Because zombies are already dead
they take up no resources only a slot in the process table,
which indeed can become a massive problem if a berserk application
is producing lots of them so that the total number of slots in the system's
process table gets filled up.
When this finally happens your only choice is a system reboot.
That's why zombies are sign of bad programming.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0