Most viewed recipes tagged "stat"http://code.activestate.com/recipes/tags/stat/views/2010-03-25T01:10:14-07:00ActiveState Code RecipesAvailable disk space monitoring for concurrent writes (Python) 2010-03-25T01:10:14-07:00Mateyuzohttp://code.activestate.com/recipes/users/4172453/http://code.activestate.com/recipes/577140-available-disk-space-monitoring-for-concurrent-wri/ <p style="color: grey"> Python recipe 577140 by <a href="/recipes/users/4172453/">Mateyuzo</a> (<a href="/recipes/tags/files/">files</a>, <a href="/recipes/tags/multiprocessing/">multiprocessing</a>, <a href="/recipes/tags/stat/">stat</a>, <a href="/recipes/tags/writing/">writing</a>). Revision 5. </p> <p>A DiskSpaceProctor is registered with a SyncManager to be shared by forked processes and threads. This object will check the available free space and add up filesz of concurrent writes. If there is not enough space for the requesting write, an exception is raised.</p>