Skip to content

Instantly share code, notes, and snippets.

@jbonney
Created October 16, 2013 15:12
Show Gist options
  • Save jbonney/7009294 to your computer and use it in GitHub Desktop.
Save jbonney/7009294 to your computer and use it in GitHub Desktop.
Useful monit commands. http://linux.die.net/man/1/monit
#Reload configuration file
monit -c monit.conf reload
#Check processes monitored by monit
monit -c monit.conf status
#Start a process
monit -c monit.conf start name
#Stop a process
monit -c monit.conf stop name
#Monitor a process
monit -c monit.conf monitor name
#Unmonitor a process
monit -c monit.conf unmonitor name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment