In nutshell, we want to see what are the files a particular daemon is using or opening or referring.
Lets be more specific.As i mainly deal with postfix, there are mainly two conf files, master.conf and main.conf. We are interested in knowing what are the files master process is using, i will issue following command to get this info
lsof -c master
it will show all the files,sockets,tcp connections attached to this process.
You may use other processes too to track them down.
Lets be more specific.As i mainly deal with postfix, there are mainly two conf files, master.conf and main.conf. We are interested in knowing what are the files master process is using, i will issue following command to get this info
lsof -c master
it will show all the files,sockets,tcp connections attached to this process.
You may use other processes too to track them down.
No comments:
Post a Comment