![]() The first call to scan will never report any changes it captures a snapshot of the state of all monitored files and directories so that subsequent calls to scan can report any changes. In order to monitor a single file create a new monitor object: my $monitor = File::Monitor->new() Īdd the file to it: $monitor->watch( 'somefile.txt' ) Īnd then call scan periodically to check for changes: my = $monitor->scan Implementing a 'drop box' directory that receives files to be processed in some wayĪutomatically rebuilding a cached object that depends on a number of files if any of those files changes Monitoring the configuration file(s) of a long running process so they can be automatically re-read if they change Notify when files are added or removed from a directory Monitor files that don't yet exist and notify you if they are created Monitor existing files for changes to any of the attributes returned by the stat function This module provides a simple interface for monitoring one or more files or directories and reporting any changes that are made to them. # Later perform a scan and gather any changes # First scan just finds out about the monitored files. This document describes File::Monitor version 1.00 SYNOPSIS use File::Monitor The abundance of details and the filtering ability that allows users to select only the information they need to view, coupled with the fact that it is addressed to all user categories, makes File Monitor one of the best choices in its category.File::Monitor - Monitor files and directories for changes. Perhaps the most important attribute of this software is that it is so easy to use that even novices can become accustomed to it and understand file system activity and working parameters in a rather short time. In addition to that, it is also possible to show mail slots and network volumes. This utility is able to list all the available volumes and, from a dedicated menu, you can select only the ones you want to monitor. ![]() ![]() The latter options can be useful to better discern among many events of a single process, occurring in a very short period, for example. You can set File Monitor to automatically scroll the details presented in the main window, configure the time stamps to be in accordance with the system time and even show milliseconds. More so, there is a special column that displays supplemental information in some cases. View request results and configure timestampsĪ great thing about File Monitor is that you can view if a certain application was successful or not in employing one component or another, and if a certain request was completed successfully or not. The main window offers a generous space for viewing all the loaded processes and exploring their activity, as well as the resources in use. The interface is very simple, quite plain actually, yet this is to be expected since it is a utility bent exclusively on practicality. File Monitor was developed with this particular purpose in mind, a lightweight program that can explore the way in which the OS works. Keeping track of running applications and processes, as well as monitoring their particular activity, often requires a bit more than the functions available in Windows' Task Manager.
0 Comments
Leave a Reply. |