linescroll(1)
π linescroll(1) β User Manual π
okay bestie, buckle up, because linescroll is literally the cutest little log-monitoring tool and you're gonna be obsessed π
β¨ NAME β¨
linescroll β a tool to monitor log files πΈ
π SYNOPSIS π
linescroll [OPTION] [FILE]...
π¦ DESCRIPTION π¦
It shows you the line flow rate in your file(s) or from stdin. That's it. That's the whole vibe. π
-c/--combineβ all input sources get smushed into one single source π«Ά-l/--limit ITERATIONSβ dip out afterITERATIONScycles-s/--speedonlyβ don't print graphs, just the speed, no cap-p/--print ITERATIONSβ print only everyITERATIONS'th stats-f/--filenameβ print filename headings-a/--noaxislimitβ do not print the axis limits-n/--noclearβ do not clear the screen between prints-r/--rawβ treat input lines as values to add to counter-h/--helpβ print help
π USAGE π
linescroll can be used to show how much activity happens in log files or program output. fr fr. π
Bash can be used in conjunction to capture several programs as arguments for linescroll. iykyk π§
stdin can be used as a pipe if no other files are given as arguments, or if the special filename - is used. π
β EXAMPLE β
Show relative difference of (un-)cached traffic:
linescroll \
<( varnishncsa -F '"%{Varnish:hitmiss}x"' | grep '"hit"$' ) \
<( varnishncsa -F '"%{Varnish:hitmiss}x"' | grep -v '"hit"$' )
Or just rate of traffic through the cache via stdin:
varnishncsa -F '%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i" "%{Varnish:hitmiss}x"' | linescroll
Build a graph of stats for email:
( printf "From: cache@darkstar\nTo: super@webmasters\nSubject: cache effectiveness snapshot\n\n";
linescroll --limit 60 --print 60 \
<( varnishncsa -F '"%{Varnish:hitmiss}x"' | grep '"hit"$' ) \
<( varnishncsa -F '"%{Varnish:hitmiss}x"' | grep -v '"hit"$' )
) | /usr/sbin/sendmail -fcache super@webmasters
π OPTIONS π
-c,--combineβ combine all file source metrics π«Ά-l,--limit ITERATIONSβ stop after number of iterations (default never) π-s,--speedonlyβ no graph, speed only β¨-p,--print ITERATIONSβ print only every Nth iteration π-f,--filenameβ print filename headings π-h,--helpβ print usage help π-n,--noclearβ do not clear screen between draws πΈ--nofollowβ do not follow file renames π₯-v,--versionβ display version number β-r,--rawβ input is metric π
π AUTHORS π
Ed Neville (ed-linescroll@s5h.net).
bestie this whole thing is linescroll 0.2.0, dated 04 September 2023, and it's giving main character energy π that's the sign-off, mwah, go monitor some logs β¨π¦π
π¦ where this page comes from
- debian trixie: linescroll 0.2.0-2+b6 Β· GPL-3.0-or-later
- ubuntu questing: linescroll 0.2.0-2build1
- ubuntu resolute: linescroll 0.2.0-3 Β· GPL-3.0-or-later
- ubuntu stonking: linescroll 0.2.0-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms