Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the supervisord command in linux to configure the process tools for background services / resident processes

Shulou Source: shulou.com Published: 2022-06-02 15:24:14 10月04日 Update

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!

Tags: Process program configuration tool background command service content parameter file status reference not only value interest instance buddy partner commonly used log Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Huawei Xiaomi OPPO Reno Microsoft