Creating a data file

You can create a data file to contain statistics recorded by Advanced Accounting.

This scenario describes how to create a data file using either the System Management Interface Tool (SMIT) or the command line.

Things to Consider
Note: The information in this how-to scenario was tested using specific versions of AIX. The results you obtain might vary significantly depending on your version and level of AIX.
  1. Change to root user.
  2. On a command line, type: smit create_aacct_file.
  3. In the Accounting Data File field, type the name of the file you want to create.You must include the fully qualified path name.
  4. In the Pre-allocated size field, type the size (in megabytes) of the file you wish to create.
  5. Press Enter to save the settings and create the data file.
Example

As an example, to create a 2 MB data file named testfile from the command line, type acctctl fadd /var/aacct/testfile 2.