csagetconfig(1M) csagetconfig(1M) NAME csagetconfig - searches the accounting configuration file for the specified argument SYNOPSIS /usr/lib/acct/csagetconfig label DESCRIPTION The csagetconfig command searches the accounting configuration file for label and returns the value associated with it. This command is generally used in shell scripts. By default, csagetconfig searches the /etc/csa.conf file. If the shell variable CSACONFIG is set to an alternative file, csagetconfig will search a different configuration file. The csagetconfig command accepts the following variable: label Specifies the argument that csagetconfig should search and return the value for in the accounting configuration file. EXAMPLES Example 1: The following example extracts the value for ACCT_FS from the default configuration file. The shell variable FILESYS is set to the extracted value. FILESYS=`csagetconfig ACCT_FS` Example 2: The following example shows how to search an alternative configuration file for the ACCT_FS variable: FILESYS=`CSACONFIG=/tmp/myconfig csagetconfig ACCT_FS` FILES /etc/csa.conf Accounting configuration file Page 1