PRAUDIT(1) FreeBSD General Commands Manual PRAUDIT(1)


prauditprint the contents of audit trail files


praudit [ -lnpx][ -r | -s][ -d del][ file ...]


The praudit utility prints the contents of the audit trail files to the standard output in human-readable form. If no file argument is specified, the standard input is used by default.

The options are as follows:

-d del
Specifies the delimiter. The default delimiter is the comma.
Prints the entire record on the same line. If this option is not specified, every token is displayed on a different line.
Do not convert user and group IDs to their names but leave in their numeric forms.
Specify this option if input to praudit is piped from the tail(1) utility. This causes praudit to sync to the start of the next record.
Prints the records in their raw, numeric form. This option is exclusive from -s.
Prints the tokens in their short form. Short text representations for record and event type are displayed. This option is exclusive from -r.
Print audit records in the XML output format.

If the raw or short forms are not specified, the default is to print the tokens in their long form. Events are displayed as per their descriptions given in /etc/security/audit_event; UIDs and GIDs are expanded to their names; dates and times are displayed in human-readable format.


Descriptions of audit event classes.
Descriptions of audit events.


The OpenBSM implementation was created by McAfee Research, the security division of McAfee Inc., under contract to Apple Computer Inc. in 2004. It was subsequently adopted by the TrustedBSD Project as the foundation for the OpenBSM distribution.


This software was created by McAfee Research, the security research division of McAfee, Inc., under contract to Apple Computer Inc. Additional authors include Wayne Salamon, Robert Watson, and SPARTA Inc.

The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems.

August 4, 2009 FreeBSD