Home

 

Activity statistics

Activities provides a variety of statistics that you can use to monitor operations and make configuration adjustments when necessary.

 

Using statistics

Activities maintains sets of statistics that keep track of usage information. The values for these statistics, and the change in value between the last sample and the current one are maintained in text files. The statistics collected, the frequency with which they are collected, and the text file names all have default settings. You can change the configuration to collect fewer statistics or to change the collection frequency.Available statistics include:

Activities runs scheduled tasks that save current statistics values. The jobs are defined in the oa-jobs.xml file. You can edit this file to change the time intervals of the jobs or to change the start times of the jobs. Activities runs the following scheduled jobs:

By default, the statistics jobs capture some standard statistics that are defined in the oa-config.xml file. You can edit this file to collect the statistics that best suit your implementation. Activities saves the collected data into files whose names are composed by combining the job name with the following names:

For example, the 30MinStats scheduled job maintains files named 30MinStatsAddedData.txt, 30MinStatsAverage.txt, and so on. The DailyStats job maintains files named DailyStatsAddedData.txt, DailyStatsAverage.txt, an so on. Additionally, each file maintained by Activities has an associated delta file that tracks the difference between the previous value of the statistic and the current value. For example: Delta30MinStatsAddedData.txt and DeltaDailyStatsAddedData.txt. There are also average delta files, which track the average time required to process the requests within the collection interval. These are named as follows: Delta30MinStatsAverage.txt and DeltaDailyStatsAverage.txt.

Statistics text files use a comma separated value (CSV) format. This format enables you to import the files into a spreadsheet, and then compute and chart the values.

All of the files into which Activities stores data are in the referenced by the ACTIVITIES_STATS_DIR WebSphere Application Server variable. To edit the variable, access the Websphere Application Server Integrated Solutions Console, navigate to Environment > WebSphere Variables, and search in the server scope. You can view the current value of the ACTIVITIES_STATS_DIR variable and modify it, if necessary.

 

The statistics and what they measure

The following tables list the statistics available and describe what each statistic represents.


Statistics in <jobName> Totals.txt file

Statistic Description
activities.data.totals.activities

Number of activities in the database.

activities.data.totals.entries

Number of activity entries (for example standard entries, to-do items) in the database.

activities.data.totals.members

Number of activity members in the database.


Statistics in <jobName> Current.txt file

Statistic Description
activites.requests.concurrent.max

Maximum number of simultaneous requests processed by the Activities feature since the feature was started.

activities.service.eventqueue.entries.current

Current number of events waiting to be processed.

activities.users.active.current

Number of users that have accessed the Activities feature within the last five minutes.

activities.users.active.max

Maximum number of users that have accessed the Activities feature within a five minute window since the feature was started.


Statistics in <jobName> Events.txt file

Statistic Description
activities.fatals

Number of fatal errors reported by the Activities feature since the feature was started.

activities.errors

Number of non-fatal errors reported by the Activities feature since the feature was started.

activities.warnings

Number of warnings reported by the Activities feature since the feature was started.

activities.service.virus.scan.found.count

Number of viruses removed from content by the virus scanning software configured for the Activities feature since the feature was started. If virus scanning is not enabled, then zeros (0) are collected for this statistic.

activities.service.acf.badcontent.found

Number of instances of active content removed by the Activities feature since the feature was started. If active content filtering is not enabled for Activities, then zeros (0) are collected for this statistic.


Statistics in <jobName> Average.txt file (Average time in milliseconds required to process a request to a particular Activities service

Statistic Description
activities.service.db.totals.Average

Average time to complete a database request.

activities.service.api.totals.Average

Average time to complete a service request.

activities.service.directoryprofile.totals.Average

Average time to complete a lookup request.

activities.service.smtp.totals.Average

Average time to deposit mail to the SMTP server. If SMTP is not enabled, then zeros (0) are collected for this statistic.

activities.service.trash.totals.Average

Average time to purge an activity or activity entry from the trash.


Statistics in <jobName> Counts.txt file

Statistic Description
activities.service.db.totals.Count

Number of database requests made since the feature was started.

activities.service.api.totals.Count

Number of service requests made since the feature was started.

activities.service.directoryprofile.totals.Count

Number of lookups made since the feature was started.

activities.service.smtp.totals.Count

Number of SMTP requests made since the feature was started. If SMTP is not enabled, then zeros (0) are collected for this statistic.

activities.service.trash.totals.Count

Number of activities or activity entries purged from the trash since the feature was started.


Statistics in <jobName> AddedData.txt file

Statistic Description
activities.service.contentstore.filesystem.upload.bytes

Number of bytes added to the content store by uploaded files.


Statistics in "jobName"ContentStore.txt file

Statistic Description
activities.service.contentstore.filesystem.upload.Count

Number of files uploaded to Activities since the feature was started.

activities.service.contentstore.filesystem.download.Count

Number of files downloaded from Activities since the feature was started.

activities.service.contentstore.filesystem.remove.Count

Number of files removed from Activities since the feature was started.

 

Examples of Activities configuration files

The following example demonstrates the data that Activities collects by default:

The following XML is sample oa-jobs.xml file content.


Monitor statistics and metrics

Choosing a scheduler for a job

 

Related tasks

Empty the trash on a schedule

Scheduling statistics collection

Complete activities that are not being used

Monitor statistics and metrics

Import statistics and metrics into a spreadsheet

Define which statistics to collect


+

Search Tips   |   Advanced Search