[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 5

shutacct Command

Purpose

Turns off processing accounting.

Syntax

/usr/sbin/acct/shutacct "Reason]

Description

The shutacct command turns off process accounting and calls the acctwtmp command to add a record stating the reason to the /var/adm/wtmp file. The shutacct command is invoked by the shutdown command.

Note: It is necessary to place quotation marks around the Reason value in the /var/adm/wtmp file.

Variables

Reason Specifies the reason for accounting system shutdown. This value is optional.

Security

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

Files

/usr/sbin/acct The path to the accounting commands.
/var/adm/wtmp The login and logout history file.

Related Information

The turnacct command.

For more information about the Accounting System, the preparation of daily and monthly reports, and the accounting files, see the Accounting Overview in AIX Version 4.3 System Management Guide: Operating System and Devices.

Setting Up an Accounting System in AIX Version 4.3 System Management Guide: Operating System and Devices explains the steps you must take to establish an accounting system.


[ Previous | Next | Contents | Glossary | Home | Search ]