Need to monitor a file change/deletion
Randall Hopper
aa8vb at yahoo.com
Mon Oct 25 10:05:24 EDT 1999
Aaron Mahler:
|
| I need to find a decent, low-impact way to monitor a file and see if
|it has changed.
I'm not familiar with an OS-independent way to do this.
If you're on SGI IRIX, check out fam(1M). FAMMonitorFile() and
FAMMonitorDirectory() sound like what you need. FAMNextEvent() blocks
until an event occurs.
--
Randall Hopper
aa8vb at yahoo.com
More information about the Python-list
mailing list