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.
- Change to root user.
- On a command line, type: smit create_aacct_file.
- In the Accounting Data File field, type the name of the file you want to create.You must include the fully qualified path name.
- In the Pre-allocated size field, type the size (in megabytes) of the file you wish to create.
- 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.