csackpacct man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



csackpacct(1M)							csackpacct(1M)

NAME
     csackpacct - checks the size of the process accounting file

SYNOPSIS
     /usr/lib/acct/csackpacct [blocks]

DESCRIPTION
     The csackpacct script checks the size of the CSA process accounting file
     /var/adm/acct/day/pacct and checks the amount of free space on the
     filesystem containing the /var/adm/acct directory.	 If the size of the
     pacct file exceeds 4000 blocks (default) or exceeds the specified number
     of blocks, csackpacct starts a new accounting file by invoking the
     csaswitch(1M) command.  When accounting is enabled, the csaswitch command
     is called with the -c on option by default.  You can modify the behavior
     of the csaswitch command to enable additional daemon or continuation
     record types and set threshold values by setting the applicable values in
     the /etc/csa.conf file.  For additional information, see the
     csaswitch(1M) man page.

     ACCT_FS is a parameter which defines the filesystem on which
     /var/adm/acct resides and is defined in the accounting configuration file
     /etc/csa.conf.  The MIN_BLKS parameter also is defined there.

     csackpacct also ensures that the ACCT_FS filesystem contains at least
     MIN_BLKS free blocks.  If there is not this much free space, csackpacct
     turns off CSA accounting by invoking csaswitch(1M) with the halt operand.
     csackpacct calls csaswitch(1M) with the on operand to re-enable process
     accounting when at least MIN_BLKS free blocks are available.

     This feature is sensitive to the frequency at which csackpacct is
     executed.	You should run csackpacct periodically using the cron(1M)
     command.

     The csackpacct 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,
     /etc/csa.conf, ACCT_FS is set to /usr.  If this is not correct for your
     system, you must define ACCT_FS properly in /etc/csa.conf.

EXAMPLES
     The following example is a suggested entry for the
     /usr/spool/cron/crontabs/root file so that cron(1M) automatically runs
     csackpacct on the hour:

	  5 * *	 * 1-6	if /etc/chkconfig csaacct; then /usr/lib/acct/csackpacct; fi

									Page 1

csackpacct(1M)							csackpacct(1M)

FILES
     /etc/csa.conf			     CSA configuration file

     /var/adm/acct/day/pacct*		     CSA process accounting files

     /usr/spool/cron/crontabs/root	     root crontab(1) file

SEE ALSO
     cron(1M), crontab(1), csaswitch(1M).

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net