inotifywatch 4.26.0 Gather filesystem usage statistics using inotifywatch. Usage: inotifywatch [ options ] file1 [ file2 ] [ ... ] Options: -h|--help Show this help text. -v|--verbose Be verbose. @ Exclude the specified file from being watched. --fromfile Read files to watch from or `-' for stdin. --exclude Exclude all events on files matching the extended regular expression . --excludei Like --exclude but case insensitive. --include Exclude all events on files except the ones matching the extended regular expression . --includei Like --include but case insensitive. -z|--zero In the final table of results, output rows and columns even if they consist only of zeros (the default is to not output these rows and columns). -r|--recursive Watch directories recursively. -I|--inotify Watch with inotify. -F|--fanotify Watch with fanotify. -S|--filesystem Watch entire filesystem with fanotify. -M|--mount Watch entire mount with fanotify. -P|--no-dereference Do not follow symlinks. -t|--timeout Listen only for specified amount of time in seconds; if omitted or zero, inotifywatch will execute until receiving an interrupt signal. -e|--event [ -e|--event ... ] Listen for specific event(s). If omitted, all events are listened for. -a|--ascending Sort ascending by a particular event, or `total'. -d|--descending Sort descending by a particular event, or `total'. Exit status: 0 - Exited normally. 1 - Some error occurred. Events: access file or directory contents were read modify file or directory contents were written attrib file or directory attributes changed close_write file or directory closed, after being opened in writable mode close_nowrite file or directory closed, after being opened in read-only mode close file or directory closed, regardless of read/write mode open file or directory opened moved_to file or directory moved to watched directory moved_from file or directory moved from watched directory move file or directory moved to or from watched directory move_self A watched file or directory was moved. create file or directory created within watched directory delete file or directory deleted within watched directory delete_self file or directory was deleted unmount file system containing file or directory unmounted