|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Restart debian server if one specific process has more than 10 seconds have high cpu load
Hi,
could someone give me an example for a debian server script? I need to check a process if the process has a high cpu load (top). If yes the whole server needs to reboot. Thats it, nothing more. ![]() Hope someone could help me. Regards woisch |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
It would be better to find the root cause to the problem and fix it, instead of reboot the whole server. If needed, restart only the process.
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Thanks Jotne.
I try to find why but for now this is my only solution for this. Also a process restart did not work. Don`t know why. So could you please help me with this by now since i found a solution why the process got so high? Regards woisch |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| apache high cpu load on high traffic | awww | Red Hat | 4 | 10-01-2011 04:56 PM |
| script to check high cpu utilization for java process | coolguyamy | Shell Programming and Scripting | 1 | 12-11-2010 12:28 PM |
| High CPU utilization by a pro*C process | mugunthanvh | AIX | 6 | 03-31-2010 11:23 AM |
| High cpu load average | squid04 | Red Hat | 2 | 09-27-2006 08:07 AM |
| Application high CPU load | Frank2004 | AIX | 0 | 04-20-2005 10:41 PM |
|
|