This is so easy that it is only mastered by the choosen few ;-) It is basically two steps:
If this fails for some reason, read the next section for background information and follow the instructions in the section Sorting Process Chaos
This section contains background information how SICS processes are monitored and controlled. The first thing to know is that a running SICS installation consists of multiple processes:
In order to monitor and restart all these processes the tool monit
is used. Because monit can do it, it is also used to alert of disk space problems and for monitoring the
presence of hardware such as histogram memories.
The monit demon is run from the instrument user account. Its configuration in monit syntax lives in the file .monitrc. Do not edit this file manually: there is a file monitconfig in the instrument account home directory which contains keywords for the various things to configure. The program monitint then generates the .monitrc file. There is also a directory monitfiles which contains files and scripts required for SINQ's use of monit.
Monit has a few other interesting commands:
The monit demon is started through the system init system when the instrument computer is booted.
Sometimes the monit demon fails to start when the system reboots. Or users start servers manually. This, of course, confuses monit. This state can be diagnosed by checking the output of monit summary. If there is not item list but rather something like monit is not running, this problem is to be solved. And it is easy to solve: