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

Commands Reference, Volume 1

chargefee Command

Purpose

Charges end users for the computer resources they use.

Syntax

/usr/sbin/acct/chargefee User Number

Description

The chargefee command is used by someone with administrative authority to charge the individual specified by the User parameter for the number of work units specified by the Number parameter. The Number value can be an integer or a decimal value.

The chargefee command writes a record to the /var/adm/fee file. This information is merged with other accounting records by the acctmerg command to create the daily report.

Note: You should not share accounting files among nodes in a distributed environment. Each node should have its own copy of the various accounting files.

Security

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

Examples

To charge smith for 10 units of work on a financial report, enter:

/usr/sbin/acct/chargefee smith 10 

A record is created in the /var/adm/fee file, which the acctmerg command will merge with records in other accounting files to produce the daily report.

Files

/usr/sbin/acct The path to the accounting commands.
/var/adm/fee Accumulates the fees charged to each login name.

Related Information

The acctmerg 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.2 System Management Concepts: Operating System and Devices.

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

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