viewaudit(8)

NAME

 

viewaudit - display audit records

 

SYNOPSIS

 

viewaudit

 

 

 

 

viewaudit [-Adate-time] [ -B

date-time ] [ -cclasses] [ -Ddate-time][-eevents

 

 

] [ -iaudit-ids][-l] [ -mdel] [ -n] [ -pprivilege-results] [ -rreturn-values ] [ -u

 

 

users] [-x]

 

 

 

 

viewaudit -h

 

 

DESCRIPTION

 

viewaudit(8) displays audit records. When invoked without options, viewaudit

 

 

displays all current local audit records. When invoked with options, viewaudit

 

 

displays only the selected records. By default, records are displayed in text format,

 

 

one token per line, with a comma as the field separator. The output can be modified

 

 

using the -l,-m

del, -n, or -xoption.

Privileges

 

You must have auditadm or auditop privileges to run this command.

 

 

Refer to setprivileges(8) for more information.

OPTIONS

 

The following options are supported:

 

 

-Adate-time

Selects records that occurred at or after date-time. The

 

 

 

date-timeargument is in local time. the -Aand -Boptions

 

 

 

can be used together to form a range. Valid values for

 

 

 

date-time are:

 

 

 

Absolute date-time :yyyymmdd[hh[mm[ss]]]

 

 

 

where:

 

 

 

yyyy = year (1970 is the earliest valid value)

 

 

 

mm = month (0112)

 

 

 

dd = day (0131)

 

 

 

hh = hour (0023)

 

 

 

mm = minutes (0059)

 

 

 

ss = seconds (0059)

 

 

 

The default value is 00 for hh, mm, and ss.

 

 

 

 

 

System Administration

389