What's this?     Get involved!    Universal configuration
monitoring and system of record for IT.  Stay in the loop…
Follow the Tweets.   » http://twitter.com/commandlinefu »
http://twitter.com/commandlinefu3 »
http://twitter.com/commandlinefu10  Subscribe to the feeds.
Subscribe to the feed for:    May 19, 2015 - A Look At The New
Commandlinefu March 2, 2015 - New Management  Top Tags      All
commands from sorted by Terminal - All commands - 12,230 results
f=bigdata.xz; calc "round($(lsof -o0 -o "$f"|awk
'{o=substr($7,3)}END{print o}')/$(stat -c %s "$f")*100)"
2015-09-19 18:27:12 User: unhammer  Say you're started "xzcat
bigdata.xz | complicated-processing-program >summary" an hour
ago, and you of course forgot to enable progress output (you
could've just put "awk 'NR%1000==0{print
NR>"/dev/stderr"}{print}'" in the pipeline but it's too late for
that now). But you really want some idea of how far along your
program is. Then you can run the above command to see how many %
along xzcat is in reading the fil