EnglishFrenchSpanish

OnWorks favicon

lnav - Online in the Cloud

Run lnav in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lnav that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


lnav - ncurses-based log file viewer

SYNOPSIS


lnav [-hVsar] [logfile1 logfile2 ...]

DESCRIPTION


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.

KEY BINDINGS


? View/leave the online help text.

q Quit the program.

OPTIONS


-h Print help and exit

-H Display the internal help text.

-d file
Write debug messages to the given file.

-V Print version information.

-s Load the most recent syslog messages file.

-a Load all of the most recent log file types.

-r Load older rotated log files as well.

-t Prepend timestamps to the lines of data being read in on the standard input.

-w file
Write the contents of the standard input to this file.

Optional arguments:
logfile1
The log files or directories to view. If a directory is given, all of the files in
the directory will be loaded.

EXAMPLES


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

Use lnav online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad