shutdown command
Purpose
Ends system operation.
Syntax
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
Security
This command can be run only by the prime administrator (padmin).
Examples
- To shut down the system, type the following command:
shutdown
- To restart the system, type the following command:
shutdown -restart
- To shut down the system and restart, without
the user prompt, type the following command:
shutdown -force -restart