table of contents
VNL-TAIL(1) | vnlog | VNL-TAIL(1) |
NAME¶
vnl-tail - tail a log file, preserving the legendSYNOPSIS¶
$ read_temperature | tee temp.vnl # temperature 29.5 30.4 28.3 22.1 ... continually produces data ... at the same time, in another terminal $ vnl-tail -f temp.vnl # temperature 28.3 22.1 ... outputs data as it comes in
DESCRIPTION¶
Usage: vnl-tail [options] logfile logfile logfile ... < logfile
This tool runs "tail" on given vnlog files in various ways. "vnl-tail" is a wrapper around the GNU coreutils "tail" tool. Since this is a wrapper, most commandline options and behaviors of the "tail" tool are present; consult the tail(1) manpage for detail. The differences from GNU coreutils "tail" are
- The input and output to this tool are vnlog files, complete with a legend
- "-c" is not supported because vnlog really doesn't want to break up lines
- "--zero-terminated" is not supported because vnlog assumes newline-separated records
Past that, everything "tail" does is supported, so see that man page for detailed documentation.
BUGS¶
This and the other "vnl-xxx" tools that wrap coreutils are written specifically to work with the Linux kernel and the GNU coreutils. None of these have been tested with BSD tools or with non-Linux kernels, and I'm sure things don't just work. It's probably not too effortful to get that running, but somebody needs to at least bug me for that. Or better yet, send me nice patches :)SEE ALSO¶
tail(1)REPOSITORY¶
https://github.com/dkogan/vnlog/AUTHOR¶
Dima Kogan "<dima@secretsauce.net>"LICENSE AND COPYRIGHT¶
Copyright 2018 Dima Kogan "<dima@secretsauce.net>"This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
2019-01-22 |