monitor
Description
The monitor command monitors a process to make sure it stays alive. To avoid misuse, only configured processes can be monitored. The only process that can be monitored at this time is the Client user service. This is because the user must not stop the process.
Options
The process that needs to be monitored starts and stops the monitoring.
- start <pid> <nonce> <name> <type>
-
- <pid>
-
Process identifier
- <nonce>
-
Random string of sufficient size to avoid that anyone can guess it.
- <name>
-
The name given should be an action that is registered as a monitoring service. For more information, see Service .
[Service] ActionMonitor=Background-Start ActionStart= [Action] 01=Background-Start application self -service user
- <type>
-
- stop <pid> <nonce>
-
To stop the monitoring, send the same process ID and nonce used for starting.
- <pid>
-
Process identifier
- <nonce>
-
Random string of sufficient size to avoid that anyone can guess it.
- check
-