[Shell Script][Perl Script]Monitoring a process’s status in a particular time interval


Assuming process.sh is the process which is to be monitored periodically. For checking above process’s health , a script is required . Here statuscheck.sh will check whether the process.sh is running or not. If process is not  running, restart the process using exec command   monitor.sh will call statuscheck.sh in every particular interval(eg: here in everyContinue reading “[Shell Script][Perl Script]Monitoring a process’s status in a particular time interval”

[Perl Script][Linux]Checks whether the process is running…


This is for Linux OS . I got one requirement to implement ,  which requires to check the status of one process . If the process is not present ,  start the process. So I searched in Google and found out this script , which is useful .    #!/usr/bin/perl # if your prgram has theContinue reading “[Perl Script][Linux]Checks whether the process is running…”