Skip to content

incrmesg.1

Manvendra Bhangui edited this page Feb 25, 2024 · 3 revisions

NAME

incrmesg - Display incremental messages in log files

SYNOPSYS

incrmesg logfile1 [logfile2] ...

DESCRIPTION

incrmesg takes name of logfiles as command line arguments, and for each logfile, displays, all lines that have incrementally got added into the logfile since the last time incrmesg was run.

incrmesg(1) maintains the check point against the postion last read for each logfile. It also maintains the message count for each logfile. Both of these numbers are maintained in the file logfile.seek in /var/tmp/incrmesg. This directory where the checkpoint is maintained can be changed by setting environment variable SEEKDIR.

logfile1, logfile2 can be any text file. It can be used to show the diff between the previous version and the current version.

RETURN VALUE

0 if all steps were successful, non-zero otherwise. If any of the steps fail, a diagnostic message is printed.

SEE ALSO

logclient(1), logsrv(8),

Clone this wiki locally