Usage log file

CS/AIX usually records usage information in the file /var/sna/sna.usage. When this file reaches 10,000,000 bytes, CS/AIX renames the file to /var/sna/bak.usage (overwriting any existing backup usage log file) and then clears the log file. This means that the maximum amount of log information stored at any one time is twice the specified maximum file size.

You can use the command-line administration program to change the name and location of the usage log file, or the maximum file size, in the same way as for audit and error log files. You can also clear the current contents of the log file at any time (with or without copying the information to the backup file). Use the following commands:

  1. Use the snaadmin set_log_file command to change the log file name or maximum size, or to clear the file.
  2. Use the snaadmin query_log_file command to check the current usage log file settings.

Refer to IBM Communications Server for Data Center Deployment on AIX Administration Command Reference for more information about issuing these commands.

The format of the usage log file is as follows:

  • The file is divided into a number of columns, each recording usage of a particular resource type:
    • APPC and CPI-C applications
    • LUA applications
    • Active link stations
    • TN3270 sessions using TN Server
    • Telnet sessions using TN Redirector
    • Data sessions (PLU-SLU sessions)
  • Each column shows two figures: the current usage of a particular resource type at the time it was recorded, and the peak usage (the maximum usage level of the resource type at any time since the AIX computer was restarted).
  • Each line in the file represents a snapshot of the resource usage at a particular time, shown by a timestamp at the end of the line. Usage is recorded at 30-minute intervals and an extra entry is included when CS/AIX is stopped normally.