The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 09-30-2008 09:26 AM
Monitoring Processes - Killing hung processes ukndoit UNIX for Advanced & Expert Users 4 01-17-2008 04:30 AM
monitoring running processes nhatch Shell Programming and Scripting 2 12-21-2007 09:03 AM
waiting mpang_ Shell Programming and Scripting 1 10-04-2007 01:52 AM
Monitoring processes of another host Andimotz80 Shell Programming and Scripting 5 07-10-2006 08:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-07-2008
jon80 jon80 is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 12
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.

  #2 (permalink)  
Old 08-07-2008
ynilesh's Avatar
ynilesh ynilesh is offline
Registered User
  
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 222
Code:
top
command.
  #3 (permalink)  
Old 08-07-2008
jon80 jon80 is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 12
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 01:16 PM.. Reason: update #1
  #4 (permalink)  
Old 08-07-2008
buffoonix buffoonix is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 145
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0