[Dnsmasq-discuss] File System Access by Dnsmasq

Carlos Carvalho carlos at fisica.ufpr.br
Sun Aug 8 20:52:00 BST 2010


Justin McAteer (justin at jmcateer.com) wrote on 8 August 2010 13:38:
 >You can find all opened files by dnsmasq using the fd directory in the
 >proc filesystem
 >
 >ls -la /proc/<pid>/fd
 >
 >or by using the command
 >
 >lsof

Yes but this will only show what files are open at that moment; it's
possible that other files are opened and closed from time to time.

You could run strace -f -eopen dnsmasq and watch the output, or use
the continuous monitoring of lsof.



More information about the Dnsmasq-discuss mailing list