Accounting for Instrument Elements

The introduction of the IE into the Grid infrastructure requires an accounting system in order to acquire usage data and evaluate its usage. Moreover, the IE is composed by a set of IMs and each of them represents an interface or a sensor, so the instrument's/sensor's administrator point of view should be considered as well. The IE developers have implemented an accounting system extending their use of the log4j.

The accounting system is able to provide logs from which the following information, grouped by the two different points of views, can be extracted:

  • The total number of IE users (by time interval, by time)
  • How many actions have been executed on the IE (by time interval, by a user, by an action type and by whichever mix of previous filters)
  • Total number of IM users (by time interval, by time)
  • How many times a specific attribute/parameter has been read/wrote (by time interval and/or by a user)
  • How many times a specific command has been executed (by time interval and/or by a user)

The above functionality is provided by parsing the debug messages of the IE taking advantage of the inherited capabilities of the log4j library like:

  • the message format could be set outside the code (using a property file)
  • the message could be directly redirected to a central accounting manager system through a socket or a JMS queue

Running the IE script

To get the accounting information from your SE please run this script using the directory with the IE log files as parameter (i.e. ./logParser.sh $CATALINA_HOME/logs)

Back to top
DORII project receives funding from the EC's Seventh Framework Programme (FP7/2007-2013) under grant agreement n° RI-211693.