The 'pv' #Linux utility is quite nice as you can track any process read process with the -d option. But what if it is not installed?
p=long_run_prog_name; while pgrep $p >/dev/null; do echo $(date -Isec) $(awk -v s=$(stat -c %s infile) '/pos/{printf "%.3f %%\n", 100*$2/s}' $(eval echo /proc/{$(pgrep -d, $p)}/fdinfo/3) ); sleep 30;done
'infile' is …
🇺🇦 #NowPlaying on KEXP's #MidnightInAPerfectWorld
Dc2trill:
🎵 Awesome Stuff
#Dc2trill
https://open.spotify.com/track/3mDgM9wfdn9Pp2tQDvF2ya
Leute - wo seid ihr?
Mapt Euch bei @…
https://Fedimap.de
(Anleitung dort)
@fedimap.linux.pizza !in 48.80415004, 9.53681946
He refused to fight for Putin. Germany says it’s safe for him to go back.
https://www.politico.eu/article/georgy-avaliani-russia-ukraine-war-germany-return-vladimir-putin…