Skip to content
/ tss Public

Annotate stdin with timestamps per line. A Go port of moreutils/ts and fork of kevinburke/tss.

License

Notifications You must be signed in to change notification settings

peaceiris/tss

Repository files navigation

tss

Annotate stdin with timestamps per line. A Go port of moreutils/ts and fork of kevinburke/tss.

tss is like ts from moreutils, but prints relative durations (with millisecond precision) by default, and can be shipped as a compiled binary.

Try it out:

$ (sleep 1; echo "hello"; sleep 2; echo "two sec") | tss
   1.00s    1.00s hello
   3.01s    2.01s two sec

The first column is the amount of time that has elapsed since the program started. The second column is the amount of time that has elapsed since the last line printed.

tss-demo

Note that: The demo has been created with the old docker version. The log format of docker build is different from the latest version.

license release GitHub release date Release Feed Test Code Scanning

Go Report Card CodeFactor Maintainability codecov

Installation

Homebrew

For macOS and Linux.

brew install peaceiris/tap/tss

peaceiris/homebrew-tap/tss.rb

Binary

Releases · peaceiris/tss

About

Annotate stdin with timestamps per line. A Go port of moreutils/ts and fork of kevinburke/tss.

Resources

License

Stars

Watchers

Forks

Packages

No packages published