bash

  1. Matt

    Service Monitor and Restart Script

    Create a new file called process.txt in the /root/scripts folder (you might need to also make the /root/scripts folder) Get a list of the processes you want to monitor from the ps -ef output /usr/sbin/mysqld /usr/bin/memcached /usr/libexec/postfix/master /bin/java and add them to this file...
Back
Top