Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Check if server needs a restart via SSH?

Discussion in 'General Discussion' started by Arkaic, May 17, 2018.

  1. Arkaic

    Arkaic Active Member

    Joined:
    Jun 23, 2015
    Messages:
    27
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Hey there,

    Is it possible to check if a cPanel server requires a restart for updates (i.e. "You must reboot the server to apply software updates.") in SSH?

    i.e. /usr/bin/needs-restarting (--reboothint)
    ?
    Is this all cPanel checks before displaying the message?
    [​IMG]

    I'm looking to automate a way to check numerous servers to see if they need a restart.

    Thanks in advance.
     
    #1 Arkaic, May 17, 2018
    Last edited: May 17, 2018
    rarod likes this.
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    966
    Likes Received:
    67
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
Loading...

Share This Page