If your file /var/adm/pacct is growing rapidly and you want to rotate it manually, you may use either of the below.
1. Use the command /usr/lib/acct/ckpacct. After you execute it, a file pacct1 will be created and an empty pacct.
2. If you have logadm command, you may just execute logadm -p now /var/adm/pacct
1. Use the command /usr/lib/acct/ckpacct. After you execute it, a file pacct1 will be created and an empty pacct.
2. If you have logadm command, you may just execute logadm -p now /var/adm/pacct
No comments:
Post a Comment