Quantcast
Channel: List the files accessed by a program - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 8

Answer by unclejamil for List the files accessed by a program

$
0
0

I think you want lsof (possibly piped to a grep on the program and it's children). It will tell you every file that's currently being accessed on the filesystem. For information about which files accessed by process (from here):

lsof -n -p `pidof your_app`

Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>