table of contents
other languages
other sections
conflicting packages
shutdown(8) | System Manager's Manual | shutdown(8) |
NAME¶
shutdown - bring the system downSYNOPSIS¶
shutdown [OPTION]... TIME [MESSAGE]DESCRIPTION¶
shutdown arranges for the system to be brought down in a safe way. All logged-in users are notified that the system is going down and, within the last five minutes of TIME, new logins are prevented.OPTIONS¶
- -r
- Requests that the system be rebooted after it has been brought down.
- -h
- Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system.
- -H
- Requests that the system be halted after it has been brought down.
- -P
- Requests that the system be powered off after it has been brought down.
- -c
- Cancels a running shutdown. TIME is not specified with this option, the first argument is MESSAGE.
- -k
- Only send out the warning messages and disable logins, do not actually bring the system down.
ENVIRONMENT¶
- RUNLEVEL
- shutdown will read the current runlevel from this environment variable if set in preference to reading from /var/run/utmp
FILES¶
- /var/run/utmp
- Where the current runlevel will be read from; this file will also be updated with the new runlevel.
- /var/log/wtmp
- A new runlevel record will be appended to this file for the new runlevel.
NOTES¶
The Upstart init(8) daemon does not keep track of runlevels itself, instead they are implemented entirely by its userspace tools.AUTHOR¶
Written by Scott James Remnant <scott@netsplit.com>REPORTING BUGS¶
Report bugs at <https://launchpad.net/upstart/+bugs>COPYRIGHT¶
Copyright © 2009 Canonical Ltd.SEE ALSO¶
runlevel(7) init(8) telinit(8) reboot(8)2009-07-09 | Upstart |