Process hangup + restart one process + restart process with process ID
kill -HUP 1721
Stops, then restarts process 1721. This is usually done when a process is not working properly or the configuration files for that process have been changed. This command sends the HUP signal to the process which means hangup. This signal can be caught by the process.
killall -HUP myprint
Restarts any process with the name “myprint”.