[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5


startup Command

Purpose

Turns on accounting functions at system startup.

Syntax

/usr/sbin/acct/startup

Description

The startup command turns on the accounting functions when the system is started, if called by the /etc/rc command file. See the startup example for the command to add to the /etc/rc file.

Security

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

Examples

To turn on the accounting functions when the system is started, add the following to the /etc/rc file:

/usr/bin/su - adm -c /usr/sbin/acct/startup

The startup shell procedure will then record the time and clean up the previous day's records.

Files


/usr/sbin/acct The path to the accounting commands.

Related Information

The shutacct command, 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 5L Version 5.1 System Management Concepts: Operating System and Devices.

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


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]