csackpacct - checks the size of the process accounting
file
SYNOPSIS
//uussrr//ssbbiinn//ccssaacckkppaacccctt [blocks]
DESCRIPTION
The ccssaacckkppaacccctt script checks the size of the CSA process
accounting file //vvaarr//ccssaa//ppaacccctt and checks the amount of
free space on the filesystem containing the //vvaarr//ccssaa
directory. If the size of the ppaacccctt file exceeds 4000
blocks (default) or exceeds the specified number of
bblloocckkss, ccssaacckkppaacccctt starts a new accounting file by invok
ing the csaswitch(8) command. When accounting is enabled,
the ccssaasswwiittcchh command is called with the --cc oonn option by
default. You can modify the behavior of the ccssaasswwiittcchh
command to enable additional daemon or continuation record
types and set threshold values by setting the applicable
values in the //eettcc//ccssaa..ccoonnff file. For additional informa
tion, see the csaswitch(8) man page.
AACCCCTT_FFSS is a parameter which defines the filesystem on
which //vvaarr//ccssaa//aacccctt resides and is defined in the account
ing configuration file //eettcc//ccssaa..ccoonnff. The MMIINN_BBLLKKSS param
eter also is defined there.
ccssaacckkppaacccctt also ensures that the AACCCCTT_FFSS filesystem con
tains at least MMIINN_BBLLKKSS free blocks. If there is not this
much free space, ccssaacckkppaacccctt turns off CSA accounting by
invoking csaswitch(8) with the hhaalltt operand. ccssaacckkppaacccctt
calls csaswitch(8) with the oonn operand to re-enable pro
cess accounting when at least MMIINN_BBLLKKSS free blocks are
available.
This feature is sensitive to the frequency at which ccssaacckk
ppaacccctt is executed. You should run ccssaacckkppaacccctt periodically
using the cron(8) command.
The ccssaacckkppaacccctt script accepts the following operand:
blocks Specifies the maximum size (in blocks) to which
the CSA process accounting file can grow before
it is switched. The default is 4000 blocks.
In the released template of the accounting configuration
file, //eettcc//ccssaa..ccoonnff, AACCCCTT_FFSS is set to //vvaarr//ccssaa. If this
is not correct for your system, you must define AACCCCTT_FFSS
properly in //eettcc//ccssaa..ccoonnff.
EXAMPLES
The following example is a suggested entry for the root
ccrroonnttaabb file so that cron(8) automatically runs ccssaacckkppaacccctt
on the hour:
FILES
//eettcc//ccssaa..ccoonnff CSA configuration
file
//vvaarr//ccssaa//ddaayy//ppaacccctt** CSA process
accounting files
ccrroonnttaabb root crontab(1)
file
SEE ALSO
cron(8), crontab(1), csaswitch(8).
Man(1) output converted with
man2html