Monitor Ubuntu File System Activity With InotifySep 21, 2008, 04:02 (1 Talkback[s])
(Other stories by Martin Streicher)
[ Thanks to An Anonymous Reader for this link. ]
"Using inotify is simple: Create a file descriptor, attach one or more watches (a watch is a path and set of events), and use the read() method to receive event information from the descriptor. Rather than burn scarce cycles, read() blocks until events occur."