/etail

A tail command for looking at data files in a terminal, now developed at https://github.com/cogentcore/core/tree/main/tensor/cmd/ttail

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

etail: monitor log files in the terminal

Go Report Card GoDoc

IMPORTANT UPDATE: Cogent Core now has an improved version of etail in its ttail package. This version will not be further maintained or developed. The v1 version is still needed for the v1 version of emergent.

etail is a tail command for looking at .csv / .tsv log / data files in a terminal window.

This is a Go rewrite of the pdptail command written in perl, dating back to the PDP++ era.

Install

This should install into your $GOPATH/bin dir:

$ go get github.com/emer/etail

Run

Just pass files as args, e.g., on the test files in this dir:

$ etail RA25*

Keys

This is shown when you press h in the app:

Key(s) Function
spc,n page down
p page up
f scroll right-hand panel to the right
b scroll right-hand panel to the left
w widen the left-hand panel of columns
s shrink the left-hand panel of columns
t toggle tail-mode (auto updating as file grows) on/off
a jump to top
e jump to end
v rotate down through the list of files (if not all displayed)
u rotate up through the list of files (if not all displayed)
m more minimum lines per file -- increase amount shown of each file
l less minimum lines per file -- decrease amount shown of each file
d toggle display of file names
c toggle display of column numbers instead of names
q quit