Print this page
5375 utmpd(1M) core dumps when WTMPX_UPDATE_FREQ is zero

@@ -1,22 +1,22 @@
 '\" te
+.\" Copyright 2015 Shruti V Sampat <shrutisampat@gmail.com>
 .\" Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved
 .\" Copyright 1989 AT&T
 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH UTMPD 1M "Jun 4, 2008"
+.TH UTMPD 1M "Jan 01, 2015"
 .SH NAME
 utmpd \- utmpx monitoring daemon
 .SH SYNOPSIS
 .LP
 .nf
 \fButmpd\fR [\fB-debug\fR]
 .fi
 
 .SH DESCRIPTION
-.sp
 .LP
 The \fButmpd\fR daemon monitors the \fB/var/adm/utmpx\fR file. See
 \fButmpx\fR(4) (and \fButmp\fR(4) for historical information).
 .sp
 .LP

@@ -27,11 +27,10 @@
 \fB/var/adm/utmpx\fR. If the process' \fButmpx\fR entry has not been removed,
 \fButmpd\fR removes the entry. By periodically scanning the
 \fB/var/adm/utmpx\fR file, \fButmpd\fR also monitors processes that are not in
 its table.
 .SH OPTIONS
-.sp
 .ne 2
 .na
 \fB\fB-debug\fR\fR
 .ad
 .sp .6

@@ -39,11 +38,10 @@
 Run in debug mode, leaving the process connected to the controlling terminal.
 Write debugging information to standard output.
 .RE
 
 .SH EXIT STATUS
-.sp
 .LP
 The following exit values are returned:
 .sp
 .ne 2
 .na

@@ -63,20 +61,23 @@
 .RS 4n
 An error occurred.
 .RE
 
 .SH FILES
-.sp
 .ne 2
 .na
 \fB\fB/etc/default/utmpd\fR\fR
 .ad
 .sp .6
 .RS 4n
 You can set default values for the flags listed below. For example:
 \fBSCAN_PERIOD=600\fR
 .sp
+The values for these flags should be greater than 0. If values read
+from the file are found to be less than or equal to 0, or containing
+invalid characters, the default values mentioned below are retained.
+.sp
 .ne 2
 .na
 \fB\fBSCAN_PERIOD\fR\fR
 .ad
 .sp .6

@@ -132,17 +133,15 @@
 Directory containing files for processes whose \fButmpx\fR entries are being
 monitored.
 .RE
 
 .SH SEE ALSO
-.sp
 .LP
 \fBsvcs\fR(1), \fBinit\fR(1M), \fBsvcadm\fR(1M), \fBpoll\fR(2),
 \fBpututxline\fR(3C), \fBproc\fR(4), \fButmp\fR(4), \fButmpx\fR(4),
 \fBattributes\fR(5), \fBsmf\fR(5)
 .SH NOTES
-.sp
 .LP
 If the filesystem holding \fB/var/adm/wtmpx\fR is mounted with options which
 inhibit or defer access time updates, an unknown amount of error will be
 introduced into the \fButmp\fR \fBDOWN_TIME\fR record's timestamp in the event
 of an uncontrolled shutdown (for example, a crash or loss of power ).