I"m using montit for other processes I need to run, but I have a process which doesn't run as a daemon, and I can't figure out how to monitor it with monit
|
feedback
|
|
Current versions of monit allow you to match process strings using the
| |||
|
feedback
|
|
You can check the byproducts of the process. You could, for example, monitor the existence of a lock file, the modification time of a directory, or something that is modified or created by your process. | |||
|
feedback
|
|
You can use
| |||
|
feedback
|