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]
utmpd [-debug]
utmpd receives requests from pututxline(3C) by way of a named pipe. It maintains a table of processes and uses poll(2) on /proc files to detect process termination. When utmpd detects that a process has terminated, it checks that the process has removed its utmpx entry from /var/adm/utmpx. If the process' utmpx entry has not been removed, utmpd removes the entry. By periodically scanning the /var/adm/utmpx file, utmpd also monitors processes that are not in its table.
Run in debug mode, leaving the process connected to the controlling terminal. Write debugging information to standard output.
Successful completion.
An error occurred.
You can set default values for the flags listed below. For example: SCAN_PERIOD=600 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. SCAN_PERIOD
The number of seconds that utmpd sleeps between checks of /proc to see if monitored processes are still alive. The default is 300.
The maximum number of processes that utmpd attempts to monitor. The default value is 4096.
The number of seconds that utmpd sleeps between read accesses of the wtmpx file. The wtmpx file's last access time is used by init(8) on reboot to determine when the operating system became unavailable. The default is 60.
File containing user and accounting information for commands such as who(1), write(1), and login(1).
Directory containing files for processes whose utmpx entries are being monitored.
The utmpd service is managed by the service management facility, smf(7), under the service identifier:
svc:/system/utmp:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(8). The service's status can be queried using the svcs(1) command.