utmps(4) Kernel Interfaces Manual utmps(4)NAME
utmps - user-accounting database
SYNOPSIS DESCRIPTION
File 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 file:
o User login name (up to 256 characters)
o
o Device name (console, lnxx; up to 64 characters)
o Process id
o Type of entry
o Exit status of a process marked as
o The time the entry was made
o Internet address of host, if remote (Both IPv4 and IPv6 addresses are supported.)
o 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.
FILES AUTHOR
was developed by Hewlett-Packard Company.
SEE ALSO last(1), login(1), who(1), write(1), acctcon(1M), fwtmp(1M), utmpd(1M), getuts(3C).
utmps(4)
Check Out this Related Man Page
utmpd(1M)utmpd(1M)NAME
utmpd - user accounting database daemon
SYNOPSIS DESCRIPTION
user accounting database daemon, manages the user accounting database which is the database of currently logged-in users. This was previ-
ously maintained by and files on HP-UX.
Upon startup, writes its pid to the file Applications can add, update, or query entries into the database using the APIs. See the
getuts(3C) manual page for more information.
utmpd(1M) takes care of synchronizing the legacy file and its own in-memory database. The synchronization is bi-directional from the data-
base to the and from the file to database. However, this synchronization does not happen in real time. There is a time lag which could
span from a few seconds on a lightly loaded system to a few minutes on a heavily loaded system.
Signal Processing
Perform graceful shutdown.
This causes the daemon to write its in-memory user accounting database to the file and exit.
DIAGNOSTICS
logs error messages to the system log using syslog(3C).
WARNINGS
If is shutdown using synchronization between file and the file does not take place. should not be shutdown by the user unless it is for
debugging purpose. On restart, utmpd(1M) rebuilds its database from the file.
AUTHOR
was developed by Hewlett-Packard Company.
FILES SEE ALSO rlogind(1), telnetd(1), who(1), init(1M), bwtmps(3C), getuts(3C), getutx(3C), btmps(4), utmp(4), utmpx(4), wtmps(4).
utmpd(1M)
ihave a file in the following format...
Company:abc
Cid Cname
1 Wal
2 Buy
Company:def
mkl
Cid Cname
10 Bank
11 XX
Company:mnk
234
Cid Cname
10 bank
1 Wal
The O/p should be (3 Replies)
Hi, folks,
I have developed CK-ERP, which is an open source accounting / MRP / ERP / CRM system that runs on top of multiple middlewares. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups.
Details about and... (0 Replies)
Most of my Solaris 10 user accounts are generally 10 characters long. When I run the 'last' command the report only shows the first 8 characters so the information is not very helpful. How can I report the full 10 character user account. (1 Reply)