Skip to main content

Restart the listed process

Comments

4 comments

  • cPanelMichael
    Hello, You can run the following command to see a list of processes that need restarting:
    /usr/bin/needs-restarting
    A reboot is only required in cases where restarting the service associated with those processes doesn't remove them from the output of the above command. Thank you.
    -1
  • YouHost
    Hello, I did the command /usr/bin/needs-restarting and have an output of processes that need to be restarted as notified by Security Advisor. 744820 : /opt/alt/python27/bin/python2.7/usr/share/lve-stats/lvestats-server.pystart--pidfile/var/run/lvestats.pid 744797 : /opt/alt/python27/bin/python2.7/usr/share/lve-stats/lvestats-server.pystart--pidfile/var/run/lvestats.pid 744796 : /opt/alt/python27/bin/python2.7/usr/share/lve-stats/lvestats-server.pystart--pidfile/var/run/lvestats.pid Nowis there a command to restart processes that need restarting so I don't have to reboot? Best regards
    0
  • Infopro
    The docs should be of some use: CloudLinux Documentation
    0
  • YouHost
    [PHP]service lvestats restart[/PHP] did the trick. Thank you for your advice.
    0

Please sign in to leave a comment.