Managing Accounting

Managing Accounting

Introduction

You can manage the accounting feature fully by using SNMP or the user interface. You can access the accounting log itself using both mechanisms. This section describes the user interface commands you can use to manage the accounting feature.

Reference

Refer to SNMP Survival Guide (located with the software) for instructions on managing the accounting component with SNMP.

Defining the Accounting Log Size

Use the DEFINE ACCOUNTING LOGSIZE command to control the amount of memory allocated at initialization to create the log file. Valid values for the LOGSIZE variable are 0, 4, 8, 16, 32, 64, 128, 256, and 512 (units are kilobytes). If the accounting component cannot allocate the specified amount of memory at the time of initialization, the value displayed for LOGSIZE in the SHOW ACCOUNTING CHARACTERISTICS display will be set to zero.

If this occurs, define a smaller value for LOGSIZE. This characteristic can only be modified with a DEFINE command. Note that a newly defined value will not take effect until the next time the server is reinitialized.

Note

An access server configured with 2 megabytes of memory may not have sufficient resources to allow for the creation of an accounting log.

Example: Defining the Accounting Log Size

The following shows how to set the size of allocated memory to 512 KB:

Local> DEFINE ACCOUNTING LOGSIZE 512

Accounting 23-11