NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

Network and Storage Protocols

CIFS :: determine process that access a file

jenoptik
3,439 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
3,385 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