Use the supervisord command in linux to configure the process tools for background services / resident processes
This article mainly introduces the use of linux supervisor command configuration background services/resident process tools, the text is very detailed, has a certain reference value, interested friends must read!
Supervisor is a Python process management tool that can be easily used to start, restart (auto-restart programs), and shut down processes (not just Python processes) on UNIX-like systems (Windows is not supported).
Syntax format: supervisor [parameter]
Common parameters:
status View program status start start program stop close program update restart profile modified program
Reference Example
To view the status of the process:
[root@linuxcool ~]# supervisorctl status
Start the process:
[root@linuxcool ~]# supervisorctl start process name
Close the process:
[root@linuxcool ~]# supervisorctl stop process name
Clear the process log:
[root@linuxcool ~]# supervisorctl clear process name
Reload configuration file:
[root@linuxcool ~]# supervisorctl update The above is all the content of the process tool that uses the supervisor command in linux to configure background services/resident processes. Thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!