GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UTX(8) FreeBSD System Manager's Manual UTX(8)

utx
manage the user accounting database

utx boot

utx shutdown

utx rm identifier ...

The utx utility can be used to perform operations on the user accounting database, as done by pututxline(3).

The first argument to utx indicates an action to be performed:

Write a boot time record to the user accounting database. This option should typically only be used by rc(8).
Write a shutdown time record to the user accounting database. This option should typically only be used by rc(8).
Remove stale sessions from the user accounting database, by referring to their identifier. Stale sessions can occur if a login service exits prematurely or fails to remove the session from the accounting database.

Utilities such as w(1) will not display the identifier corresponding with a login session, since its value is typically only of use by the process managing the record. The following command can be used to obtain all records from the user accounting database's active session table, including its identifiers:

getent utmpx active

Identifiers can either be supplied in hexadecimal form as displayed by getent(1), or as a string if the identifier allows such a representation.

Because this utility requires write-access to the user accounting database, its use is limited to the super-user.

getent(1), w(1), pututxline(3)

The utx utility replaced utxrm in FreeBSD 10.0.

Ed Schouten <ed@FreeBSD.org>
November 3, 2013 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.