9t

by gongo

gongo / 9t

9t is multi-file tailer by golang

129 Stars 16 Forks Last release: over 3 years ago (0.0.2) 43 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

9t

Build Status Coverage Status

9t (nine-tailed fox in Japanese) is a multi-file tailer (like

tail -f a.log b.log ...
).

Usage

$ 9t file1 [file2 ...]

Demo

Demo

  1. Preparation for demo

    $ yukari() { echo '世界一かわいいよ!!' }
    $ while :; do       yukari >> tamura-yukari.log ; sleep 0.2 ; done
    $ while :; do echo $RANDOM >> random.log        ; sleep 3   ; done
    $ while :; do         date >>      d.log        ; sleep 1   ; done
    
  2. Run

    $ 9t tamura-yukari.log random.log d.log
    

Installation

$ go get github.com/gongo/9t/cmd/9t

Motivation

So far, Multiple file display can be even

tail -f
.

Demo

But, I wanted to see in a similar format as the

heroku logs --tail
.
app[web.1]: foo bar baz
app[worker.1]: pizza pizza
app[web.1]: foo bar baz
app[web.2]: just do eat..soso..
.
.

License

MIT License

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.