killall -HUP xxx含义是什么

# 如 killall -HUP autorund 含义是什么

直接重新加载所有名为autorund的配置文件,而不必先关闭/终止进程。感觉类似nginx -s reload


The command killall -HUP autorund is used in Linux to send the HUP (hang up) signal to all processes named autorund. Here’s a breakdown of what each part of the command does:

killall: This command is used to terminate all processes that match the given name. Unlike kill, which requires a process ID (PID), killall works with process names.
-HUP: This option specifies the signal to send. HUP (hang up) is signal number 1, which typically instructs a process to reload its configuration files without terminating.
autorund: This is the name of the process to which the signal will be sent.
So, killall -HUP autorund will send the HUP signal to all instances of the autorund process, prompting them to reload their configuration files.

 

posted @   你说夕阳很美  阅读(19)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示