tail head cat sleep
QR code linking to this page

Manual Pages  — PRAUDIT


praudit – print 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.


The utility exits 0 on success, and >0 if an error occurs.


/etc/security/audit_class Descriptions of audit event classes.
/etc/security/audit_event Descriptions of audit events.


auditreduce(1), audit(4), auditpipe(4), audit_class(5), audit_event(5)


The OpenBSM implementation was created by McAfee Research, the security division of McAfee Inc., under contract to Apple Computer Inc.amp; 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.

PRAUDIT (1) June 11, 2018

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

A UNIX saleslady, Lenore,
Enjoys work, but she likes the beach more.
She found a good way
To combine work and play:
She sells C shells by the seashore.