seb-m / pyinotify

Monitoring filesystems events with inotify on Linux.
http://github.com/seb-m/pyinotify/wiki
MIT License
2.29k stars 379 forks source link

Does it support to monitor the NFS mount? #177

Open JasonZhang0320 opened 5 years ago

JasonZhang0320 commented 5 years ago

We are looking for a solution to monitor the change events on windows file server.

The Directory monitor that we are currently trialed software eat a lot of memory.

Tronde commented 5 years ago

Hello @JasonZhang0320,
That is not possible because pyinotify uses the inotify(7) which only recognize changes made by the kernel. So if another kernel, e.g. from another host using the same NFS export, make changes to the NFS mount the kernel on the host where you are running pyinotify cannot recognize the change.

Regards,
Tronde