I wanted the output of thinkfan -n output with a timestamp next to it so I can later analyse the patterns, and found this question: Prepending a timestamp to each line of output from a command, which had a seemingly good answer to this problem, namely using:
thinkfan -n | ts
Except it doesn't work. ts works fine with all other programs I tried, just not with thinkfan. Why doesn't it work with thinkfan? Is there some way to get this to work?
thinkfan -n 2>&1 | tswork? (orthinkfan -n |& tsif you've got a new-enough bash) – derobert Jan 29 '14 at 17:52