3
29
3Restarting or Shutting Down a
Server

Commands you can use to shut down or restart a local or

remote server.

Restarting a Server

You can use the reboot or shutdown -r command to restart a server at a specific
time. For more information, see the man pages.

Examples

To restart the local server:
$ shutdown -r now
To restart a remote server immediately:
$ ssh -l root server shutdown -r now
To restart a remote server at a specific time:
$ ssh -l root server shutdown -r hhmm

Automatic Restart

You can also use the systemsetup command to set up the server to start automatically
after a power failure or system freeze. See “Viewing or Changing Automatic Restart
Settings” on page 33.
Parameter Description
server The IP address or DNS name of the server.
hhmm The hour and minute when the server restarts.
LL2354.book Page 29 Monday, October 20, 2003 9:47 AM