Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
auditstat [-c count] [-h numlines] [-i interval] [-n] [-T u | d ] [-v]
auditstat displays kernel audit statistics. The fields displayed are as follows: aud
The total number of audit records processed by the audit(2) system call.
This field is obsolete.
The total number of audit records that have been dropped. Records are dropped according to the kernel audit policy. See auditon(2), AUDIT_CNT policy for details.
The total number of audit records put on the kernel audit queue.
The total number of audit records that have been constructed (not the number written).
The total number of audit records produced by user processes (as a result of system calls).
The total number of Kbytes of memory currently in use by the kernel audit module.
The total number of non-attributable audit records that have been constructed. These are audit records that are not attributable to any particular user.
The total number of times that the audit queue has blocked waiting to process audit data.
The total number of Kbytes of audit data written to the audit trail.
The total number of times that user processes blocked on the audit queue at the high water mark.
The total number of audit records written. The difference between enq and wrtn is the number of outstanding audit records on the audit queue that have not been written.
Display the statistics a total of count times. If count is equal to zero, statistics are displayed indefinitely. A time interval must be specified.
Display a header for every numlines of statistics printed. The default is to display the header every 20 lines. If numlines is equal to zero, the header is never displayed.
Display the statistics every interval where interval is the number of seconds to sleep between each collection.
Display the number of kernel audit events currently configured.
Display a time stamp. Specify u for a printed representation of the internal representation of time. See time(2). Specify d for standard date format. See date(1).
Display the version number of the kernel audit module software.
auditstat returns 0 upon success and 1 upon failure.
audit (2), auditon (2), attributes (7), auditconfig (8), praudit (8)