Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > U


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


utmps — user-accounting database


#include <sys/types.h> #include <utmps.h>


File utmps contains user accounting information for all users logged onto the system. This file will be accessed by getuts(3C) only if utmpd(1M) is not running. The following information is stored in the utmps file:

  • User login name (up to 256 characters)

  • /etc/lines id

  • Device name (console, lnxx; up to 64 characters)

  • Process id

  • Type of entry

  • Exit status of a process marked as DEAD_PROCESS

  • The time the entry was made

  • Internet address of host, if remote (Both IPv4 and IPv6 addresses are supported.)

  • Hostname, if remote (up to 256 characters)

This file contains user accounting information only when utmpd(1M) is not running. When utmpd(1M) is active this file does not contain up-to-date user accounting information. The use of this file may be discontinued in future releases.




utmps was developed by Hewlett-Packard Company.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.