1827162 Members
1950 Online
109716 Solutions
New Discussion

retention of pacct files

 
PaulDas
Occasional Contributor

retention of pacct files

Hello

Can somebody enlighten me as to what controls the age of performance accounting (or pacct) files that are retained on the system. My pacct files wrap at ~4am per HP suggested cron entries of:

# HP Proc accounting
0 1,6,12,18 * * * /usr/sbin/acct/ckpacct 1000
01 01 1 * * /usr/sbin/acct/monacct
59 03 * * * /usr/sbin/acct/runacct 2>/var/adm/acct/nite/runacct.log


I only seem to keep a couple of days worth of these files - i'd like to keep 2 months if size allows...

# ls -lrt /var/adm/pa*
-rw-rw-r-- 1 adm adm 1220648 Sep 1 06:00 /var/adm/pacct1
-rw-rw-r-- 1 adm adm 2560000 Sep 1 10:15 /var/adm/pacct2
-rw-rw-r-- 1 adm adm 1991748 Sep 1 15:10 /var/adm/pacct


Thanks