-
-
Notifications
You must be signed in to change notification settings - Fork 2
incrmesg.1
incrmesg - Display incremental messages in log files
incrmesg logfile1 [logfile2] ...
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.
0 if all steps were successful, non-zero otherwise. If any of the steps fail, a diagnostic message is printed.