Metering example

In this example, the application Microsoft Word is used for three consecutive days.

Day

Action

Comment

Monday,

3 PM

The user starts one instance of MS Word.

Since the agent is running, it gets notified on this start event and starts a new metering period with Run count = 1.

Monday,

6 PM

The user leaves for home; MS Word is left open and the computer is unlocked.

MS Word is considered to be "running" all night.

At midnight, a new metering file will be created with Run count = 0.

Tuesday,

8 AM

The user continues to work with MS Word (one instance) all day.

At 09.00 a scheduled scan is performed, and all metering files are consumed and deleted. The total duration will be summed up, as will the Run counts:

1 (the metering file from Monday) + 0 (the metering file from Tuesday) = 1

After the scan, new metering files will be created for all currently running processes, with Run count = 0.

Tuesday

The user locks the computer several times during the day.

The Run count will not be affected by this, but the "duration" will be paused while the screen is locked.

Tuesday,

6 PM

The user leaves for home; MS Word is left open, but this time the computer is locked.

This will not affect the Run count.

At midnight, nothing will happen since the computer is locked.

Wednesday,

8 AM

The user unlocks the computer.

When the computer is unlocked, the agent will notice that it is a new day, and create new metering files with Run count = 0.

At 09.00 a scheduled scan is performed, and all metering files are consumed and deleted. The total duration will be summed up. Since the run count is "0" (no start events since the last scan) the scan result will be Run count = 1.

After the scan, new metering files will be created for all currently running processes, with Run count = 0.

Wednesday,

9 AM-11 AM

The user starts three additional instances of MS Word.

These three start events will all be gathered by the agent setting the Run count = 3.

Wednesday,

11 AM

The user closes all instances of MS Word. The user does not start MS Word any more that day.

The metering period ends. It has a Run count = 3, since three start events was gathered by the agent.

Thursday

The user does not use MS Word at all.

At 09.00 a scheduled scan is performed including the last metering duration from Wednesday with Run count = 3.

In this example, the total Run count for the application Microsoft Word is reported as;

1 (scan on Tuesday) + 1 (scan on Wednesday) + 3 (scan on Thursday) = 5.