The files opened by XYZ process can be found with the command
ls -l /proc/PID/fd
Is there anyway that can be done in a more interactive way like tail auto-refreshing every x seconds?
Thank you.
|
The files opened by XYZ process can be found with the command
Is there anyway that can be done in a more interactive way like Thank you.
| |||
|
feedback
|
|
Try the
Watch is nice. You could use an old school while loop:
| |||||||||
feedback
|
|
You could combine For example | |||
|
feedback
|