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 dowatch ls -l foo.outortail -f foo.outYou could also list
/proc/$(pidof prog)/fdto find out the opened files of someprog