Hi,
I think it is possible to run sudo lsof right? this will run
lsof as a superuser. we can
configure sudo to not ask passwd when running this command. another
option is a setuid
bit.
Regards,
Prashant Keshvani
Merce Technologies
Mumbai
Anuradha wrote:
Hi All,
In apache I want to f
Hi All,
In apache I want to find the list of process which are accessing the file.
I am using the lsof command with popen system call.
For each process with pid a directory will be created in /proc. In
/proc//fd directory list all the files which are beeing used by the
process.
But in my