Individual file disk usage monitoring feature

Skip to first unread message

Jeevan Patnaik

Mar 12, 2021, 8:11:21 AM3/12/21
to lsyncd

Thanks for the amazing tool. We have millions of files in recursive directories and with a little bit of memory, lsyncd is able to sync all the data and new data in realtime. 

Now, I am thinking if it is possible to use the underlying inotify watchers to extend it's usage to monitor individual file disk usage too or is such feature already exist? I don't want to us other tools, as I think any other tool too basically might use the same inotify watchers and it could be unncessary additional memory.

I am new to Lua programming, so I just want to check if anyone has already checked the feasibility of such feature. 

Thanks & Regards,

Jeevan Patnaik

Mar 12, 2021, 8:14:01 AM3/12/21
to lsyncd
IO is not much on our disk, but the data has just grown over years to a Tera byte. So, in our particular case, it is not an issue to run disk usage check on every file write. 
Reply all
Reply to author
0 new messages