NAME

pmx-mark - Write timestamp marks in log files


SYNPOSIS

 pmx-mark [options] [<file>...]


DESCRIPTION

The pmx-mark program writes timestamps into PureMessage log files. Timestamps in the log files make it easier to determine when other logged events occurred.

If invoked without arguments, pmx-mark timestamps the files specified in the stdout and stderr settings in the pmx.conf file (by default, var/log/pmx_out and var/log/pmx_err respectively). The timestamp marks are written as follows:

    === pmx-mark === 2002-12-31 23:59:59

by default, the PureMessage Scheduler runs pmx-mark to create timestamps once an hour.


OPTIONS

The following options are recognized by pmx-mark:

-n | --none
Prevents the var/log/pmx_out and var/log/pmx_err files from being marked. This is equivalent to specifying both --noout and --noerr.

--noout
Prevents the var/log/pmx_out file from being marked.

--noerr
Prevents the var/log/pmx_err file from being marked.

--log
Mark the file specified in the log_to setting of the etc/pmx.conf file (by default var/log/pmx_log).

--zulu
Make a GMT-format timestamp instead of local time format.

--print
Instead of marking a timestamp to the log files, print the contents of the files from the location of the last mark.

After specifying option, you may specify additional files to be marked. If no files are selected to be marked, the marker is written to stdout.


SEE ALSO

the pmx manpage, the pmx-log manpage


COPYRIGHT

Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.