简体   繁体   中英

inotify/tool with NFS

I have installed inotify for monitoring file changes.We have NFS server also where we submit our jobs and the response that server create file into my working directory. I found that inotify does not create any event and goes for hang for long period. So my question.

1) can inotify watch files which are create by NFS server into local machine(directory).

2) if not,is it possible to use any c++ library (unix) which can capture NFS delay.

I am sure this is very common thing but I could not figure out any solution.My application is also not server client application. it is simple jobs submission application which submit job and we got some outfile in current directory. ( code in c++

inotify with NFS

I got lot of info from tool which do file monitoring.But I want to put effort if anybody has use tool with NFS delay. previous I tried (libev,inotify).

Inotify工具永远不会对NFS产生可预测的行为。我们通常可以在相同的文件和文件夹中使用,但是NFS可能不会引起您的渴望

I found an SGI FAM using an supervisor daemon to monitor file modification. It supports NFS

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM