imdmonitor - daemon that monitors filesystems and launches alerts
imdmonitor runs in the background and monitors available space on mounted
filesystems and requests for message alerts from the sysmon(1M) facility.
When it detects a condition requiring a graphical alert notifier, it uses
fork(2) to launch a new process to post the notifier. The
/usr/lib/sysmon/errhook program posts the notifier.
imdmonitor is launched at login from the /var/X11/xdm/Xsession.dt script.
It is not intended to be run directly by end users. It establishes a
connection to the X server, and exits automatically when that connection
is closed (typically when the desktop user logs out).
Default filesystem monitoring is to notify when any mounted, writable
filesystem becomes more than 95% full. imdmonitor will notify a second
time when half the remaining space has been used and will notify a third
time when all the space is used.
The monitoring configuration can be changed with the "Set Space
Monitoring" task, available in the system manager from the "Files and
Data" section. The system manager can be launched from the toolchest
(System > System Manager).
The imdmonitor program uses fam(3X) to watch three files and reacts when
they change. The file $HOME/.desktophost/<hostname>/fsNotifyConfig
defines the percentage full for each filesystem the user wants monitored.
The "Set Space Monitoring" task records the user's preferences to this
file. When this file changes, imdmonitor updates its internal monitoring
The file /var/adm/sysmon.msg contains the latest system alert message
generated by sysmon. When this file changes, imdmonitor posts the file's
contents in an error dialog.
The file /etc/mtab contains the list of filesystems to monitor. When
this file changes, imdmonitor stop monitoring filesystems no longer in
the list and begins monitoring new filesystems that were added to the
For information about the entire IRIX Interactive Desktop environment,
see the IID(1) man page.
sysmon(1M), xserver(1), IID(1), fork(2), fam(3X)
To see notification dialogs, the user must make sure that system alerts
are enabled (Desktop > Customize > System Alerts).
PPPPaaaaggggeeee 2222 [ Back ]