prctmp Command

Purpose

Displays the session record files.

Syntax

/usr/sbin/acct/prctmp File...

Description

A user with administrative authority can enter the prctmp command to display the session record file created by the acctcon1 command, normally the /var/adm/acct/nite/ctmp file. The session record file is converted into the connect-time total accounting record by the acctcon2 command and then incorporated into the daily accounting report.

Security

Access Control: This command should grant execute (x) access only to members of the adm group.

Example

To display the session record file, enter:

prctmp /var/adm/acct/nite/ctmp 

This command displays the session record file created by the acctcon1 command.

Files

Item Description
/usr/sbin/acct The path to the accounting commands.
/var/adm/acct/nite Contains accounting data files.