Network and Storage Protocols

CIFS :: determine process that access a file

jenoptik
2,345 Views

Hi everyone,

 

Is it possible to determine which process access a file?

 

 

In the case of protection against ransomware I would like to know if I can see what process (on a windows machine or linux) access a file.

 

 

Can I get such information via CLi or GUI?

 

 

Thx 4 any answer,

 

jenoptik

1 REPLY 1

georgevj
2,291 Views

I believe a shell command "lsof" can show you the list of open files along with the PIDs of the processes that access those files in Linux. Not sure about windows.

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Cannot find the answer you need? No need to open a support case - just CHAT and we’ll handle it for you.
Public