SunScreen 3.2 Administrator's Overview

ssadm logstats Subcommand

To display the statistics for the log on a given (primary or secondary) Screen, while logged into that Screen:


admin% ssadm -r Screen logstats
Log size (bytes): 170600
Log maximum size (bytes): 60000000
Log loss count (records): 0
Cleared at: 04/01/1999 17:43 PST

Log size details the number of bytes currently contained in the log. Log maximum size gives the (rough) upper bound on the size of the log file. (It is the configured log file size multiplied by one million.) Both of these sizes indicate only the space to store the logged records, not the additional, minimal space needed to manage those records.

Log loss count gives the number of records that the logging server has discarded due to the log wrapping around before being retrieved or cleared.

Cleared at gives the date and time the log was last cleared. If a text designator (through the -U option to the log command) was given during the operation that cleared the log, then this line has the form:


Cleared by: ben at 04/01/1999 17:43 PST