Hi there, I need a script that checks for the CPU load average ("uptime") every 3 minutes, and after 3 checks that all of the are higher then "10". I would like to restart my Java server (that is another script that already works fine).

When I restart my java server it takes a few minutes to restart and the load average jumps to 15 for a 10 minutes. Basically I think I need a "while" script, that will trigger the restart script. and in the restart script, I should kill the while script before restarting, and start again when finished restarting.

Who is online

Users browsing this forum: Bing [Bot] and 19 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum