shutdown command

Purpose

Ends system operation.

Syntax

shutdown [-force ] [ -restart ]

Description

The shutdown command halts the operating system. When the shutdown is complete, you receive a shutdown completion message.

Attention: Do not attempt to restart the system or turn off the system before the shutdown completion message is displayed; otherwise, file system damage can result.
The -force flag is used to bypass the following user prompt:
"Shutting down the VIOS could affect Client Partitions. Continue [y|n]?"

Flags

Flag name Description
-force Begins a system shut down without a user prompt.
-restart Restarts the system after being shut down.

Exit Status

See Exit status for Virtual I/O Server commands.

Security

This command can be run only by the prime administrator (padmin).

Examples

  1. To shut down the system, type the following command:
    shutdown
  2. To restart the system, type the following command:
    shutdown -restart
  3. To shut down the system and restart, without the user prompt, type the following command:
    shutdown -force -restart