![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| zombie processes and hung process termination | ukndoit | Shell Programming and Scripting | 2 | 03-13-2008 10:53 PM |
| killing cascade processes | victorin | Shell Programming and Scripting | 4 | 12-15-2006 03:57 AM |
| forking and killing parent processes | davewilliams20 | UNIX for Dummies Questions & Answers | 0 | 10-17-2005 02:40 AM |
| killing all processes for an user | krishan | SUN Solaris | 2 | 05-27-2005 06:38 AM |
| Killing processes in scripts | el_toro | Shell Programming and Scripting | 4 | 07-17-2002 05:02 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go?
Thank you Richard |
| Forum Sponsor | ||
|
|
|
|||
|
i dont know what you mean by "hang" but when my solaris OS is getting really slow responding and seeing that the CPU load is almost always 100% the first thing i would do is execute "prstat" to check which process is taking up load in the CPU. i would kill the process only if i knew that it is not important ie. from users etc. - check the owner in the "prstat" output.
|
|
|||
|
you said it
Quote:
|
|
|||
|
Quote:
How to categorize them actually ? To be on the safer side for these kind of problems; a safe and reliable approach would be to, if possible make the process which needs to be monitored dump some [DEBUG] messages, [INFO] messages every 'n' time slice to an unique log file With that it would be quite easy to track the status of the process by parsing the log file that is specific to each of the process that needs to be monitored. |
|||
| Google UNIX.COM |