new logging
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Sun, 25 May 1986 13:58:44 +0000 (05:58 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Sun, 25 May 1986 13:58:44 +0000 (05:58 -0800)
SCCS-vsn: sbin/savecore/savecore.8 6.3
SCCS-vsn: sbin/reboot/halt.8 6.2
SCCS-vsn: sbin/reboot/boot_vax.8 6.3

usr/src/sbin/reboot/boot_vax.8
usr/src/sbin/reboot/halt.8
usr/src/sbin/savecore/savecore.8

index 5e57cde..cdcdc59 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)boot_vax.8  6.2 (Berkeley) %G%
+.\"    @(#)boot_vax.8  6.3 (Berkeley) %G%
 .\"
 .TH REBOOT 8 ""
 .UC 4
 .\"
 .TH REBOOT 8 ""
 .UC 4
@@ -45,6 +45,17 @@ is on fire.
 reboots quickly and ungracefully, without shutting down running
 processes first.
 .PP
 reboots quickly and ungracefully, without shutting down running
 processes first.
 .PP
+.I Reboot
+normally logs the reboot using
+.IR syslog (8)
+and places a shutdown record in the login accounting file
+/usr/adm/wtmp.
+These actions are inhibited if the
+.B \-n
+or
+.B \-q
+options are present.
+.PP
 .B "Power fail and crash recovery."
 Normally, the system will reboot itself at power-up or after crashes.
 Provided the auto-restart is enabled on the machine front panel,
 .B "Power fail and crash recovery."
 Normally, the system will reboot itself at power-up or after crashes.
 Provided the auto-restart is enabled on the machine front panel,
@@ -197,4 +208,5 @@ halt(8),
 init(8),
 newfs(8),
 rc(8),
 init(8),
 newfs(8),
 rc(8),
-shutdown(8)
+shutdown(8),
+syslogd(8)
index c115ad5..9414fec 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)halt.8      6.1 (Berkeley) %G%
+.\"    @(#)halt.8      6.2 (Berkeley) %G%
 .\"
 .TH HALT 8 ""
 .UC 4
 .\"
 .TH HALT 8 ""
 .UC 4
@@ -32,8 +32,19 @@ option prevents the sync before stopping.  The
 option causes a quick halt, no graceful shutdown is attempted.  The
 .B \-y
 option is needed if you are trying to halt the system from a dialup.
 option causes a quick halt, no graceful shutdown is attempted.  The
 .B \-y
 option is needed if you are trying to halt the system from a dialup.
+.PP
+.I Halt
+normally logs the shutdown using
+.IR syslog (8)
+and places a shutdown record in the login accounting file
+/usr/adm/wtmp.
+These actions are inhibited if the
+.B \-n
+or
+.B \-q
+options are present.
 .SH SEE ALSO
 .SH SEE ALSO
-reboot(8), shutdown(8)
+reboot(8), shutdown(8), syslogd(8)
 .SH BUGS
 It is very difficult to halt a VAX, as the machine wants to then
 reboot itself.  A rather tight loop suffices.
 .SH BUGS
 It is very difficult to halt a VAX, as the machine wants to then
 reboot itself.  A rather tight loop suffices.
index 2ae3c61..35b8099 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)savecore.8  6.2 (Berkeley) %G%
+.\"    @(#)savecore.8  6.3 (Berkeley) %G%
 .\"
 .TH SAVECORE 8 ""
 .UC 4
 .\"
 .TH SAVECORE 8 ""
 .UC 4
@@ -23,7 +23,7 @@ write a reboot message in the shutdown log.
 Savecore checks the core dump to be certain it corresponds with the
 current running unix.  If it does it saves the core image in the file
 .IR dirname /vmcore.n
 Savecore checks the core dump to be certain it corresponds with the
 current running unix.  If it does it saves the core image in the file
 .IR dirname /vmcore.n
-and it's brother, the namelist,
+and its brother, the namelist,
 .IR dirname /vmunix.n
 The trailing ".n" in the pathnames is replaced by a number which grows
 every time
 .IR dirname /vmunix.n
 The trailing ".n" in the pathnames is replaced by a number which grows
 every time
@@ -32,18 +32,19 @@ is run in that directory.
 .PP
 Before savecore writes out a core image, it reads a number from the file
 .IR dirname /minfree.
 .PP
 Before savecore writes out a core image, it reads a number from the file
 .IR dirname /minfree.
-If the number of free bytes on the filesystem which contains
+If the number of free kilobytes on the filesystem which contains
 .I dirname
 .I dirname
-is less than the number obtained from the minfree file times 1024,
-the core dump is not done.
+is less than the number obtained from the minfree file,
+the core dump is not saved.
 If the minfree file does not exist, savecore always writes out the core
 file (assuming that a core dump was taken).
 .PP
 .I Savecore
 If the minfree file does not exist, savecore always writes out the core
 file (assuming that a core dump was taken).
 .PP
 .I Savecore
-also writes a reboot message in the shut down log.  If the system crashed
-as a result of a panic,
+also logs a reboot message using facility LOG_AUTH (see
+.IR syslog (3))
+If the system crashed as a result of a panic,
 .I savecore
 .I savecore
-records the panic string in the shut down log too.
+logs the panic string too.
 .PP
 If the core dump was from a system other than /vmunix, the name
 of that system must be supplied as
 .PP
 If the core dump was from a system other than /vmunix, the name
 of that system must be supplied as