Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

SubsystemMonitor Namespace Reference

API for accessing system resource statistics. See also /opt/resourcemon/doc/html/en/index.html. SubsystemMonitor is the name space subsystem libraries use. More...


Compounds

class  SubsystemMonitor::IRMRegistration
class  SubsystemMonitor::ISubsystemMonitor
class  SubsystemMonitor::Monitor
class  SubsystemMonitor::Statistic

Typedefs

typedef SubsystemMonitor::ISubsystemMonitor* (* systemFactory )(RMuid a_ssUID)
 systemFactory defines the prototype for SubsystemMonitor::ISubsystemMonitor class factories. More...

typedef SubsystemMonitor::Statistic* (* statisticFactory )(RMuid a_ssUID, rmID a_resourceid, rmID a_statid)
 statisticFactory defines the prototype for SubsystemMonitor::Statistic class factories. More...

typedef SubsystemMonitor::Monitor* (* monitorFactory )(rmMonitorConfiguration a_config, rmMonitorControl a_control, uid_t a_uid, gid_t a_gid)
 monitorFactory defines the prototype for SubsystemMonitor::Monitor class factories. More...


Detailed Description

API for accessing system resource statistics. See also /opt/resourcemon/doc/html/en/index.html. SubsystemMonitor is the name space subsystem libraries use.

Note:
The Resource Monitor daemon, resourcemonitord, has a debug option -d to aid subsystem development with debugging. This option prevents the daemon process from forking and detaching from stdout. This makes tools like strace, debuggers, and printf's easier to use. The script "/etc/rc.d/init.d/resourcemon start|stop|status|refresh|dump" controls the operation of the running daemon and is useful to the developer of a subsystem. refresh causes the daemon to immediately re-read /etc/opt/resourcemon/rmtab. dump causes the daemon to write its registry information to the text file /var/opt/resourcemon/rmState.


Typedef Documentation

typedef SubsystemMonitor::Monitor *(* SubsystemMonitor::monitorFactory)(rmMonitorConfiguration a_config, rmMonitorControl a_control, uid_t a_uid, gid_t a_gid)
 

monitorFactory defines the prototype for SubsystemMonitor::Monitor class factories.

Parameters:
a_config   configuration information for the monitor.
a_control   control information for the monitor.
a_uid   user id of the creator of the monitor.
a_gid   group id of the creator of the monitor. the monitor uid of a_control is created by the resource monitor daemon or provided by the user for this monitoring session. This uid is used as the session id in event records.
See also:
ME_ThresholdEventLogMessageFormat
Returns:
pointer to a new SubsystemMonitor::Monitor class.

typedef SubsystemMonitor::Statistic *(* SubsystemMonitor::statisticFactory)(RMuid a_ssUID, rmID a_resourceid, rmID a_statid)
 

statisticFactory defines the prototype for SubsystemMonitor::Statistic class factories.

Parameters:
a_ssUID   the subsystem's unique id.
a_resourceid   the subsystem assigned resource id.
a_statid   the subsystem assigned statistic id.
Returns:
pointer to a new SubsystemMonitor::Statistic class.

typedef SubsystemMonitor::ISubsystemMonitor *(* SubsystemMonitor::systemFactory)(RMuid a_ssUID)
 

systemFactory defines the prototype for SubsystemMonitor::ISubsystemMonitor class factories.

Parameters:
a_ssUID   the subsystem's unique id.
Returns:
pointer to a new SubsystemMonitor::ISubsystemMonitor class.


Generated at Sat Sep 7 21:21:09 2002 for Resource Monitoring Facility by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001