ArchiveThreshold statement

Use the ArchiveThreshold statement to specify a percentage of UNIX file system utilization. Each configured rule that specifies a UNIX file as the destination and that specifies the -N parameter to indicate that it is eligible for archive processing is a candidate for automatic archival. When you specify this statement with a nonzero value, each UNIX file system that contains one or more candidate UNIX files is checked at the interval that is configured or the default value to determine the percentage of the file system being used. If the percentage of file use exceeds the specified threshold, syslogd automatically archives a set of UNIX files until the percentage of file use is below the minimum threshold. The minimum threshold is 50 percent of the value that you configure on this statement. For example, if you specify an archive threshold of 80 percent, syslogd archives UNIX files until the percentage of file use is below 40 percent. Syslogd archives files from the largest to the smallest.

If the ArchiveThreshold statement is specified multiple times, syslogd uses the last instance of the statement.

You can use this statement to perform archiving when one or more file systems reach a configured threshold, or you can use the ArchiveTimeOfDay statement to perform archiving at a specific time of day. You can also specify both statements.

Requirement: The -c start option is required when you use the ArchiveThreshold statement.
Read syntax diagramSkip visual syntax diagram
>>-ArchiveThreshold--percentage--------------------------------><

percentage
Specifies the percentage value of UNIX file system use that triggers automatic archival. Valid values for percentage are in the range 0 - 99. If you do not specify this statement, the default is 70. If you specify 0, syslogd does not perform automatic threshold archiving.