Addition (works for me):
/usr/bin/lsof -n | grep DEL > /lsof.out 2>&1 sleep 15
greps all the open files/libs - if there are any - and writes the information to disk. If there are none one just gets an error message that "could not write to ro filesystem".
Addition (works for me):
/usr/bin/lsof -n | grep DEL > /lsof.out 2>&1
sleep 15
greps all the open files/libs - if there are any - and writes the information to disk.
If there are none one just gets an error message that "could not write to ro filesystem".