blob: b945e875d06da3baf28fa19e4384c13a74ca8812 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
NAME
timeprefix - Prefix the current time to each line
SYNOPSIS
timeprefix
DESCRIPTION
timeprefix reads stdin line by line and prefixes the current
time (at the point the line has been fully read) to each line
and prints the prefixed line to stdout.
The timestamp is written in both decimal boot time and
human-readable real time (in UTC), with the boot time first so
that multiple generated log files can be merged into one with
sort -m.
timeprefix also marks when the program started and terminated.
|