How To Install LNAV log file Navigator in Ubuntu

To install LNAV log file Navigator in Ubuntu

Log File Navigator(LNAV) is an open source enhanced log file viewer. It provides accurate information of files being viewed along with the time stamps and log levels. Installation of LNAV log file Navigator in Ubuntu is explained.

Features

  • It displays filter lines
  • It queries log through SQL.
  • Automatic data extraction is supported.
  • Single log view support is enhanced.
  • Syntax highlighting with configurable colourizing
  • Supports Timeline view


To install LNAV package

Run the following command to install the LNAV package.

root@user1-linuxhelp:/home/user1# apt-get install lnav 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
.
.
.
Unpacking lnav (0.7.0-3build1) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up lnav (0.7.0-3build1) ...

To view the log files

root@user1-linuxhelp:/home/user1# lnav 


To view the major options of LNAV

root@user1-linuxhelp:/home/user1# lnav -h



To view the latest syslog file

root@user1-linuxhelp:/home/user1# lnav -s 



To view all the latest syslog file

root@user1-linuxhelp:/home/user1# lnav -a



To view the older syslog files

root@user1-linuxhelp:/home/user1# lnav -r 



To view the log file with timestamps options

root@user1-linuxhelp:/home/user1# lnav -t



To view the version of LNAV

root@user1-linuxhelp:/home/user1# lnav &ndash V 
lnav 0.7.0

Hotkey option

Use the ‘ i’ key from keyboard to switch to/from the histogram view.

Use the ‘ p’ key from keyboard to view the log parser result.

Use the ‘ m’ key to mark the top log files.
+
Use " shift + j" key to view the continuous lines of the log file.

Use " shift + k" to unmark the files one by one.

Tag : LNAV
FAQ
Q
When do I need to use temperature compensation?
A
There is not usually explicit guidance for when corrections are needed, and some states clearly state the flight crew is responsible for temperature corrections while still en route.
Q
What is temperature compensation?
A
Temperature compensation is a method to adjust procedure altitudes to compensate for the effects of non-standard temperature conditions. Barometric altimeters are calibrated to indicate true altitude only for International Standard Atmosphere (ISA) conditions of temperature and sea level pressure.
Q
What is LNAV log file Navigator?
A
Log File Navigator(LNAV) is an open source enhanced log file viewer. It provides accurate information of files being viewed along with the timestamps and log levels.
Q
How to install LNAV log file Navigator on Ubuntu/Fedora?
A
Run the following command to install the LNAV package:
# apt-get install lnav
Q
Where can I go to have automatic temperature compensation disabled?
A
As per SIL CSU-XX00-18-1 B (1), the change is to be made by Rockwell Collins authorized dealers only. A list of a dealer can be found here.