How to restart shell script when cpu is 0.0%?


Login or Register to Reply

 
Thread Tools Search this Thread
# 8  
Old 1 Week Ago
Thank You Bakunin for your detailed explanation,
* I have put shebang to script for crontab tasks.
* During surfing on forums, I realized that there were many different ps variations giving different outputs.


Kind regards
Boris
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Help with Shell script that monitors CPU Usage mhannor Shell Programming and Scripting 21 01-02-2019 06:57 PM
Shell script to calculate the max cpu usage from the main script Optimus81 Shell Programming and Scripting 1 08-16-2013 04:04 PM
Shell script to monitor process with high CPU yoavbe Shell Programming and Scripting 0 04-08-2013 10:34 AM
Restart debian server if one specific process has more than 10 seconds have high cpu load woisch Shell Programming and Scripting 2 01-06-2013 04:40 PM
Shell script to monitor cpu and VMstat, iostat saanvi UNIX for Advanced & Expert Users 1 11-08-2012 01:17 PM
Need help on shell script to monitor each user cpu use on a cluster over time anuj06 Shell Programming and Scripting 6 08-14-2012 11:39 AM
Looking for shell script to monitor CPU utilization and send mail once exceed 75% clfever Shell Programming and Scripting 3 04-11-2012 12:35 PM
shell script to alert cpu memory and disk usage help please robo Shell Programming and Scripting 7 09-27-2011 03:13 PM
Restart Logic for a Korn Shell Master Script jonesdk5 Shell Programming and Scripting 0 07-02-2010 01:00 PM
Help on shell script conditional execution when CPU Idle > 60% pancona99 Shell Programming and Scripting 2 03-22-2010 01:33 PM
how could I use shell script to determine which CPU structure alert0919 HP-UX 1 06-26-2009 02:13 AM
Shell script to display top 5 process (per cpu consumption) mr_awd Shell Programming and Scripting 2 05-26-2009 09:23 AM
Solaris CPU/memory status monitoring (Shell script or c++) shingpui Programming 6 05-12-2009 08:57 AM
need help: shell script to restart apache when no. of processes keeps growing _joshua_ Shell Programming and Scripting 14 03-07-2007 07:06 AM
suspend/restart a process in shell script daneensign Shell Programming and Scripting 1 02-13-2006 11:43 PM