1reboot(8) System Manager's Manual reboot(8)
2
3
4
6 reboot, halt, poweroff - reboot or stop the system
7
9 reboot [OPTION]...
10
11 halt [OPTION]...
12
13 poweroff [OPTION]...
14
16 These programs allow a system administrator to reboot, halt or poweroff
17 the system.
18
19 When called with --force or when in runlevel 0 or 6, this tool invokes
20 the reboot(2) system call itself and directly reboots the system. Oth‐
21 erwise this simply invokes the shutdown(8) tool with the appropriate
22 arguments.
23
24 Before invoking reboot(2), a shutdown time record is first written to
25 /var/log/wtmp
26
28 -f, --force
29 Does not invoke shutdown(8) and instead performs the actual
30 action you would expect from the name.
31
32 -p, --poweroff
33 Instructs the halt command to instead behave as poweroff.
34
35 -w, --wtmp-only
36 Does not call shutdown(8) or the reboot(2) system call and
37 instead only writes the shutdown record to /var/log/wtmp
38
39 --verbose
40 Outputs slightly more verbose messages when rebooting, useful
41 for debugging problems with shutdown.
42
44 RUNLEVEL
45 reboot will read the current runlevel from this environment
46 variable if set in preference to reading from /var/run/utmp
47
49 /var/run/utmp
50 Where the current runlevel will be read from; this file will
51 also be updated with the runlevel record being replaced by a
52 shutdown time record.
53
54 /var/log/wtmp
55 A new runlevel record for the shutdown time will be appended to
56 this file.
57
59 Written by Scott James Remnant <scott@netsplit.com>
60
62 Report bugs at <https://launchpad.net/upstart/+bugs>
63
65 Copyright © 2009 Canonical Ltd.
66 This is free software; see the source for copying conditions. There is
67 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
68 PURPOSE.
69
71 shutdown(8) telinit(8) runlevel(8)
72
73
74
75Upstart 2009-07-09 reboot(8)