|
|
|
@ -40,12 +40,10 @@ generic log files with timestamps.
|
|
|
|
|
DISPLAY
|
|
|
|
|
-------
|
|
|
|
|
|
|
|
|
|
The main part of the display shows the log lines from the files
|
|
|
|
|
interleaved based on time-of-day. The lines are "scrubbed" to remove
|
|
|
|
|
redundant/extraneous parts and highlighted to emphasize other parts.
|
|
|
|
|
New lines are automatically loaded as they are appended to the files
|
|
|
|
|
and, if you are viewing the bottom of the files, lnav will scroll down
|
|
|
|
|
to display the new lines, much like 'tail -f'.
|
|
|
|
|
The main part of the display shows the log lines from the files interleaved
|
|
|
|
|
based on time-of-day. New lines are automatically loaded as they are appended
|
|
|
|
|
to the files and, if you are viewing the bottom of the files, lnav will scroll
|
|
|
|
|
down to display the new lines, much like 'tail -f'.
|
|
|
|
|
|
|
|
|
|
On color displays, the lines will be highlighted as follows:
|
|
|
|
|
|
|
|
|
@ -72,7 +70,18 @@ Above and below the main body are status lines that display:
|
|
|
|
|
|
|
|
|
|
Finally, the last line on the display is where you can enter search
|
|
|
|
|
patterns and execute internal commands, such as converting a
|
|
|
|
|
unix-timestamp into a human-readable date.
|
|
|
|
|
unix-timestamp into a human-readable date. The command-line is by
|
|
|
|
|
the readline library, so the usual set of keyboard shortcuts can
|
|
|
|
|
be used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The body of the display is also used to display other content, such
|
|
|
|
|
as: the help file, histograms of the log messages over time, and
|
|
|
|
|
SQL results. The views are organized into a stack so that any time
|
|
|
|
|
you activate a new view with a key press or command, the new view
|
|
|
|
|
is pushed onto the stack. Pressing the same key again will pop the
|
|
|
|
|
view off of the stack and return you to the previous view. Note
|
|
|
|
|
that you can always use 'q' to pop the top view off of the stack.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
@ -83,7 +92,8 @@ make it easy to zero-in on a specific section of the file or scan
|
|
|
|
|
through the file.
|
|
|
|
|
|
|
|
|
|
? View/leave this help message.
|
|
|
|
|
q Quit.
|
|
|
|
|
q Leave the current view or quit the program when in
|
|
|
|
|
the log file view.
|
|
|
|
|
|
|
|
|
|
home Move to the top of the file.
|
|
|
|
|
end Move to the end of the file.
|
|
|
|
|