LNAV(1) | General Commands Manual | LNAV(1) |
lnav - ncurses-based log file viewer
lnav [-hVsar] [logfile1 logfile2 ...]
The log file navigator, lnav, is an enhanced log file viewer that takes advantage of any semantic information that can be gleaned from the files being viewed, such as timestamps and log levels. Using this extra semantic information, lnav can do things like interleaving messages from different files, generate histograms of messages over time, and providing hotkeys for navigating through the file. It is hoped that these features will allow the user to quickly and efficiently zero in on problems.
To load and follow the syslog file:
lnav -s
To load all of the files in /var/log:
lnav /var/log
To watch the output of make with timestamps prepended:
make 2>&1 | lnav -t
This manual page was written by Salvatore Bonaccorso <carnil@debian.org> for the Debian system (but may be used by others).
August 2013 |