I am currently working with a large data set where even the file format conversion takes at least an hour per subject and as a result I am often unsure whether my command has been executed or the program has frozen. I was wondering whether anyone has a tip to how to follow the progress of the commands/scripts I am trying to run in linux?
Your help will be much appreciated.
If the long-lasting command produces some output in a file foo.out
, you could do watch ls -l foo.out
or tail -f foo.out
You could also list /proc/$(pidof prog)/fd
to find out the opened files of some prog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With