ONC+ Developer's Guide

Creating utmp Entries

Port monitors are responsible for creating utmp entries with the type field set to USER_PROCESS for services they start, if this action has been specified (that is, if -fu was specified in the pmadm line that added the service). These utmp entries may in turn be modified by the service. When the service terminates, the utmp entry must be set to DEAD_PROCESS.