If you provide special user services on a request basis, such as restoring files or remote printing, you may want to bill users by running a utility called chargefee(1M). chargefee records charges in the file /var/adm/fee. Each time the runacct utility is executed, new entries are merged into the total accounting records.
Charge a user for special services.
# chargefee username amount |
username |
User account you want to bill. |
amount |
Number of units to bill the user. |
The following example charges the user print_customer 10 units.
# chargefee print_customer 10 |