Shutting Down Linux
Use the
shutdown
command to shut down Red Hat Enterprise Linux or SuSE Linux Enterprise
Server.
The Red Hat Enterprise Linux and SuSE Linux Enterprise Server
shutdown
command has the
following options:
-h
Halts (power off) after shutdown.
Use the
PC
command at the iLO 2 MP Command menu to manually power on or power
off server hardware, as needed.
-r
Reboots after shutdown
-c
Cancels an already running shutdown
time
When to shut down (required.) You can specify
time
in any of the following ways:
•
Absolute time in the format
hh:mm
.
hh
is the hour (one or two digits) and
mm
is
the minutes (two digits).
•
Number of minutes to wait in the format
+mm
, in which
mm
is the number of minutes.
•
now
to immediately shut down; this is equivalent to using
+0
to wait zero minutes.
For details, see the shutdown(8) Linux manpage. Also see the Linux manpage for the
poweroff
command.
1.
From the command line for Red Hat Enterprise Linux or SuSE Linux Enterprise Server, issue the
shutdown
command to shut down the operating system.
2.
Log in to Linux running on the server you want to shut down.
3.
Issue the
shutdown
command with the desired command-line options, and include the
required
time
argument to specify when the operating system shutdown is to occur.
For example,
shutdown -r +20
shuts down and reboots the server in twenty minutes.
Booting and Shutting Down Linux
85