Charges end users for the computer resources they use.
/usr/sbin/acct/chargefee User Number
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.
Access Control: This command should grant execute (x) access only to members of the adm group.
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.
Item | Description |
---|---|
/usr/sbin/acct | The path to the accounting commands. |
/var/adm/fee | Accumulates the fees charged to each login name. |