74 lines
1.9 KiB
HTML
74 lines
1.9 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>reboot(8)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>reboot(8)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
reboot - reboot the system immediately
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>reboot</STRONG> [<STRONG>-f</STRONG>]
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
<STRONG>Reboot</STRONG> can be used to reboot the system after installing a new kernel.
|
|
It does not inform the users, but does log it's actions in <STRONG>/usr/adm/wtmp</STRONG>
|
|
and <STRONG>/usr/adm/authlog</STRONG>. The system is then rebooted with the <STRONG><A HREF="../man2/reboot.2.html">reboot(2)</A></STRONG>
|
|
systemcall.
|
|
|
|
If the <STRONG>-f</STRONG> flag is not given then all processes are sent terminate signals
|
|
to give them a chance to die peacefully before the <STRONG>reboot()</STRONG> call.
|
|
|
|
If the wtmp file exists, <STRONG>reboot</STRONG> logs itself as if it were a shutdown.
|
|
This is done to prevent <STRONG><A HREF="../man1/last.1.html">last(1)</A></STRONG> from talking about system-crashes.
|
|
<STRONG>Reboot</STRONG> is registered as is in the authlog file.
|
|
|
|
<STRONG>Reboot</STRONG> can only be executed by the super-user. Any other caller will be
|
|
refused, either by <STRONG><A HREF="../man8/reboot.8.html">reboot(8)</A></STRONG> or by <STRONG><A HREF="../man2/reboot.2.html">reboot(2)</A></STRONG>.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man2/reboot.2.html">reboot(2)</A></STRONG>, <STRONG><A HREF="../man8/shutdown.8.html">shutdown(8)</A></STRONG>, <STRONG>halt(8),</STRONG> <STRONG><A HREF="../man8/boot.8.html">boot(8)</A></STRONG>.
|
|
|
|
|
|
</PRE>
|
|
<H2>BUGS</H2><PRE>
|
|
The error message's given by <STRONG>reboot</STRONG> are not always useful. There are
|
|
several routines that can fail, but which are not fatal for the program.
|
|
|
|
|
|
</PRE>
|
|
<H2>AUTHOR</H2><PRE>
|
|
Edvard Tuinder (v892231@si.hhs.NL)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|