[cgl_discussion] Resource Monitor Project review

Davis, Todd C todd.c.davis at intel.com
Wed Sep 11 12:04:29 PDT 2002


1. Quote the requirements from the requirements doc that your project is
expected to meet.

Name: 4.1.1 Resource Monitor Specification 
Application Type: G, S, M 
Description: CGL shall provide a CGL Resource Monitor Framework
Specification. This specification shall define a framework so that a set of
resource subsystems/ devices can be "plug-in" to the framework dynamically
and perform the monitoring function. This specification shall define a set
of common interfaces/APIs so an application can enumerate all available
subsystems/ devices and their status. 

Name: 4.1.2 Resource Monitor Framework 
Application Type: G, S, M 
Description: CGL shall develop a resource monitor framework that comply with
the CGL Resource Monitor Framework Specification. As per this specification,
this framework will allow a new subsystem to be created and plugged in to
perform monitoring function. This framework shall provide threshold settings
and notification so that an event will be sent to the event log when a
particular resource/threshold is reached. 

Name: 4.1.3 Resource Monitor Subsystems 
Application Type: G, S, M 
Description: CGL shall provide following resource monitor subsystems: Disk
Space Usage, Kernel Resources (CPU utilization, Memory Usage), Network
Usage, and / proc status. 

Name: 4.1.4 Resource Monitor Data Persistence 
Application Type: G, S, M 
Description: CGL resource monitor framework shall provide the ability to
capture and persist time stamped data. A set of APIs must be provided for an
application to retrieve persisted historical data for analysis and display
purposes. 

2. Explain how you think the project you have picked meets the above
requirements.

Name: 4.1.1 Resource Monitor Specification 
      Resource Monitor Project provides an extensible monitoring framework
where access to statistics for applications, system and drivers can be
dynamically added to the framework through dynamically linked libraries. The
interface a statistic access library must meet is defined at
http://resourcemntrd.sourceforge.net/html/namespace__SubsystemMonitor.html.
The project also provides a client application library for C/C++
applications. See the API definition this library implements at
http://resourcemntrd.sourceforge.net/html/namespace__ResourceMonitor.html.

Name: 4.1.2 Resource Monitor Framework 
      Resource Monitor Project allows new subsystems or statistic access
libraries to be created and plugged in to a monitoring daemon so the daemon
can perform monitoring functions on the statistics the library accesses. It
also provides monitor configuration and notification functionality so that
an event will be sent to the event log when a particular statistic threshold
or leaky bucket exception is reached. The monitoring daemon provides 3 types
of monitors; threshold, watermark, and leaky bucket monitors.

Name: 4.1.3 Resource Monitor Subsystems 
      Resource Monitor Project provides the required statistics with a
possible exception of "Network Usage". Currently the only network statistics
available are from the e100 ethernet device driver. A library to access
network protocol statistics is on the project's "to do" list.

Name: 4.1.4 Resource Monitor Data Persistence 
Resource Monitor Project provides the ability to capture and persist time
stamped data through pluggable dynamically linked libraries. The interface a
statistic access library must meet is defined at
http://resourcemntrd.sourceforge.net/html/namespace__StatisticalData.html.
The API provided for an application to retrieve persisted historical data
for analysis and display purposes is defined by the library. Currently
libraries are provided to persist the data to the file system in
tab-delimited or XML formatted files. 

3. Explain the design of your project or point to a document on the web that
explains the design.

Resource Monitor Whitepaper:
http://resourcemntrd.sourceforge.net/downloads/ResMon_Whitepaper_1.1.pdf
Source Forge Project web site: http://resourcemntrd.sourceforge.net/

4. Pointer to your code/patch.

OSDL:
http://cvs.developer.osdl.org/viewcvs/viewcvs.cgi/components/resourcemonitor
d/
Source Forge: http://sourceforge.net/projects/resourcemntrd


Todd C. Davis
Telco Systems Development
Intel Corporation, Columbia Design Center
CBA-2, Suite 100
250 Berry Hill Road
Columbia, SC 29210
(803) 461-6108
fax:: (803) 461-6292
mailto:todd.c.davis at intel.com
 




More information about the cgl_discussion mailing list