Monitoring with CSV files

You can enable monitoring data collected for a container server to be written to comma-separated values (CSV) files. These CSV files can contain information about the Java virtual machine (JVM), map, or ObjectGrid instance.

About this task

By enabling monitoring data to be written to CSV files, you can download and analyze historical data for individual container servers. Data begins being collected when you start the server with the server properties that enable the CSV files. You can then download the CSV files at any time and use the files as you choose.

Procedure

  1. Update the server properties file with the following properties that are related to enabling the CSV files.
    parameter=default value
    jvmStatsLoggingEnabled=true
    maxJVMStatsFiles=5
    maxJVMStatsFileSize=100
    jvmStatsFileName=jvmstats
    jvmStatsWriteRate=10
    
    mapStatsLoggingEnabled=true
    maxMapStatsFiles=5
    maxMapStatsFileSize=100
    mapStatsFileName=mapstats
    mapStatsWriteRate=10
    
    ogStatsLoggingEnabled=true
    maxOGStatsFiles=5
    maxOGStatsFileSize=100
    ogStatsFileName=ogstats
    ogStatsWriteRate=10
    For more information about these properties, see Server properties file.
  2. Restart the server to pick up the changes to the server properties file.
  3. Import the CSV file into the program that you are using to process the data, such as a spreadsheet.

What to do next

For more information about the data that is contained in the CSV files, see CSV file statistics definitions.