'\"macro stdmacro
.if n .pH g1a.powerdown @(#)powerdown @(#)powerdown	40.7
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} powerdown 1M "Essential Utilities" "\&"
.if \nX=1 .ds x} powerdown 1M "Essential Utilities"
.if \nX=2 .ds x} powerdown 1M "" "\&"
.if \nX=3 .ds x} powerdown "" "" "\&"
.TH \*(x}
.SH NAME
\f4powerdown\f1 \- stop all processes and turn off the power
.SH SYNOPSIS
.nf
\f4powerdown\f1 [ \f4\-y\f1 | \f4\-Y\f1 ]
.fi
.SH DESCRIPTION
The \f4powerdown\fP command brings the system to a state where nothing
is running and then turns off power.
.P
The command invokes a visual interface (the \f4powerdown\fP task
available through the \f2sysadm(1M)\f1 command).
.P
You are asked questions that control how much warning the
other users are given.
The options are:
.TP
\f4\-y\f1
prevents the questions from being asked and just gives the warning
messages.
There is a 60-second pause between the warning messages.
.TP
\f4\-Y\f1
is the same as \f4\-y\f1 except that it has no pause between messages.
It is the fastest way to bring the system down.
.P
The identical function is available under the \f4sysadm\fP menu:
.RS
\f4sysadm powerdown\f1
.RE
.P
This command may be assigned a password with the
\f4sysadm systemsetup password\f1(1M) command.
.SH FILES
\f4/usr/sbin/shutdown\f1 \- invoked by powerdown
.SH DIAGNOSTICS
The \f4powerdown\f1 command exits with one of the following values:
.TP
\f40\f1
Normal exit.
.TP
\f42\f1
Invalid command syntax.
A usage message is displayed.
.TP
\f47\f1
The visual interface for this
command is not available because it cannot invoke \f4fmli\fP.
(The FMLI package is not installed or is corrupt.)
.SH SEE ALSO
\f4shutdown\fP(1M),
\f4sysadm\fP(1M).

