clog(1M)clog(1M)NAMEclog - Displays the specified log file. clog is part of the Distributed
Systems Administration Utilities (DSAU).
-D [options] filename
Displays the specified log file as directed by the options given. You
must specify -D.
Shows only lines matching the date or date range, where date
displays an exact match (date), the specified date and ear‐
lier (-date), the specified date and later (+date), or a
range of dates (date-enddate), inclusive. Dates must be in
the form [yyyy]mmdd[.hh[mm[ss]]].
Shows only results matching filter_spec, where filter_spec is
a Perl regular expression.
-h Displays help on command options.
-i Makes filter_spec case-insensitive.
Sorts the result in ascending order by the specified columns.
The columns are specified in the layout files under , which
must not be changed.
Bases the output on the specified layout file.
Sends the result to output_file.
-r Causes -k to sort in reverse order.
Outputs up to the number of lines specified. The command
reads the specified number of lines from the end of the log
file, applies any of the filter_spec expressions, and outputs
the resulting output, which may contain less than the number
of lines specified.