FSMonitor

  1. Fsmonitor-watchman

The FSMonitor class manages filesystem watches and is used to receive events. Call the adddirwatch method to add a directory watch to the monitor: m = FSMonitor watch = m.adddirwatch ('/dir/to/watch') Once a watch has been added, you can call readevents to read a list of filesystem events. The FSMonitor Daemon feature contains the following parts: fsmonitor-ipc.c: Routines containing the fsmonitoripc prefix are used by client processes to send commands and requests to the git fsmonitor-daemon daemon process. FabSoft has been a leader in data and document capture for SMBs and global enterprises since 1992. FabSoft was one of the first to market with a fully integrated – and fully modular – solution across all document management functions. FSMonitor monitors all changes in the file system. Features: Track all changes to the file system, including file creation, deletion, change of content, renames, and change-of-attributes; Examine the changed files with any of the four provided display modes; Inspector to display the exact kind of change. Download your Free Trail of MAGic® Screen Magnification Software or get the latest software update. MAGic Screen Magnification magnifies text up to 60 times and can speak the text aloud.

OverviewPackageClassUseTreeDeprecatedIndexHelp
PREV CLASS NEXT CLASSFRAMESNO FRAMESAll Classes SUMMARY: NESTED FIELD CONSTR METHOD DETAIL: FIELD CONSTR METHOD

com.virtualco.services.monitor.filesystem
Class FileSystemMonitor

All Implemented Interfaces:
java.lang.Runnable
Fsmonitor-watchman
Direct Known Subclasses:
UnixFSMonitor, Win32FSMonitor
Python file monitor
public abstract class FileSystemMonitor
extends AppMonitor

An abstrtact class that clients use to check the file system FULL flag. Implementation for different operating systems is deferred to sub classes

Field Summary
static booleanFULL
A public static flag that all clients can check
Constructor Summary
FileSystemMonitor()
Method Summary
intgetPercentCapacity()
Retrieve the usage percentage of the file system.
voidloadConfiguration(java.util.Properties prop)
The method will look for and load the following properties:
fsmonitor.activate - The setting that determines if the monitor program runs 1=activate 0=do not activate fsmonitor.initial_delay - The initial delay (in millisecs) before which the scheduled task begins fsmonitor.interval - The periodic interval (in millisecs) after which the scheduled task executes after the initial delay fsmonitor.filesystem - The file system to monitor fsmonitor.error_threshold - The file system percent capacity at which to flag an error condition fsmonitor.daemon - The flag to run the monitor process as a daemon
voidloadPropertyFile(java.lang.String propertyFile)
Load the configuration from the property file.
Methods inherited from class com.virtualco.services.monitor.AppMonitor
monitor, run, task
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

FULL

A public static flag that all clients can check
Constructor Detail

FileSystemMonitor

Method Detail

loadPropertyFile

Load the configuration from the property file.
Parameters:
propertyFile - Property file name
Throws:
AppMonitorException

loadConfiguration

The method will look for and load the following properties: FSMonitor
  • fsmonitor.activate - The setting that determines if the monitor program runs 1=activate 0=do not activate
  • fsmonitor.initial_delay - The initial delay (in millisecs) before which the scheduled task begins
  • fsmonitor.interval - The periodic interval (in millisecs) after which the scheduled task executes after the initial delay
  • fsmonitor.filesystem - The file system to monitor
  • fsmonitor.error_threshold - The file system percent capacity at which to flag an error condition
  • fsmonitor.daemon - The flag to run the monitor process as a daemon
Fsmonitor python
Parameters:
prop -
Throws:
AppMonitorException

getPercentCapacity

Retrieve the usage percentage of the file system.
Returns:
the pecentage used
OverviewPackageClassUseTreeDeprecatedIndexHelp
PREV CLASS NEXT CLASSFRAMESNO FRAMESAll Classes SUMMARY: NESTED FIELD CONSTR METHOD DETAIL: FIELD CONSTR METHOD

What tool do you use when you try to snoop it and find which find are being modified? Qbittorrent for mac download. Do you use Jamf Composer? fs_usage? FSEventer?

Fse monitoring procedure code

Well FSMonitor might be your new best buddy. It was soft launched earlier this year. I just cannot believed I missed it. Thank you, Armin Briegel, for telling me!

Well the website is complete enough that I don't need to add anything apart from some good use cases (Tweet/Comment if you have other ones!):

  • Find which plist gets modified from a particular setting
  • Find what files get moved/installed/removed when doing something such as installing Chrome
  • See if a process is doing stuff behind your back

Fsmonitor-watchman

Just a word of caution: Packaging is hard, try not to if you can. Sometimes, pushing the original package with a Configuration Profile might suffice. Also, events might get dropped if there's too many. That's by design from the Apple API.