constantly collects information from the different sub-systems and hosts within the system. Among other things, this information is used for load balancing. Using System Statistics, you can view, export, and import statistical information.
...
The system collects statistics from the different machines hosting a Platform or Execution Context, e.g. the load of the CPU or the number of context switches. This is called host statistics.
uses the std
vmstat
UNIX command to collect the information. This binary must be installed to have statistics collected and to perform load-balancing work for workflows. The following list holds all values collected from each host. On newer operating systems, some of these may not be available for collection due to changes in the kernel of the operation system.
CPU User Time - This value shows how much time was spent in non-kernel specific code. This value is displayed in percentage. 100% means that all processing power is spent. See CPU System Time as well.
CPU System Time - This value shows how much time was spent in kernel-specific code, such as scheduling of different processes or network transfer. This value is displayed in percentage. 100% means that all processing power is spent.
Context Switches - The number of context switches per second. A context switch occurs when one process hands over information to another process. The more context switches, the less effective and scalable the system will be.
Swapped To Disk - The amount of data that was swapped out. A large value indicates that the system does not have enough RAM to manage the memory requirements of the different processes.
Swapped In From Disk - The amount of data that was read from swap.
Processes Waiting For Run - Shows how many processes that are waiting to run. A high number indicates that the machine is not fast enough to manage the load.
Processes Swapped Out - Processes that have been persisted in swap due to insufficient available memory, or due to aggressive management of the memory layer.
Processes In Sleep - The number of processes that are presently not doing anything.
...
Throughput - Displays workflow throughput. As long as a workflow is being executed, the system continuously samples the amount number of processed UDRs, or raw data, per second.
Queue Throughput - Displays queue throughput per second for real-time queues. Statistics for real-time queues is are only available when routing UDRs, not raw data.
Note title Note! To enable its convenient delegation to external systems, or to generate an alarm if the throughput falls too low, throughput is also defined as a MIM value for the workflow. For further information, see Throughput Calculation in Workflow Properties.
Simultaneous - Displays the number of simultaneously running workflows.
Queue Size - The size of the queue space that is being used at the time of the sample for each individual queue.
uses Java Management Extensions (JMX) to monitor MIM tree attributes in running workflows. For more information, refer to 7.3 Workflow Monitoring/wiki/spaces/temp/pages/23282159.
Viewing the System Statistics
...
To search, either click the Search button, or click the Edit menu and select the Search... option button to open the Search System Statistics dialog.
...
Item | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
View Mode | Specifies the type of statistics you want to view; host, pico instance, or workflow. | ||||||||
Resolution | Specifies the time resolution to be used. There are three different time resolutions on which statistics are collected.
| ||||||||
Criteria | The Criteria settings are used for selecting which search criteria you want the displayed statistics to meet. The following criteria are available: Host - Select this option to display the statistics originating from the host selected in the drop-down list. Pico Instance - Select this option to display the statistics originating from the pico instance selected in the drop-down list. Workflow - Select this option to display the statistics originating from the workflow selected in the drop-down list. Period - Select this option to display the statistics from the chosen time interval. Select one of the predefined time intervals; Last Hour, Today, Yesterday, This Week, Previous Week, Last 7 Days, This Month, Previous Month, or select the option User Defined and enter the start and end dates and time times of your choice in the From and To fields.
|
...
In System Statistics, click the File menu and select Export.
The Save dialog opens.
Browse to the directory where you want to save the file. Enter a file name and click Save.
The statistical information for the selected time period is saved in *.zip format.
Tip title Hint! The export functionality can also be used to save statistics on a regular basis, e.g. every month or every year, to use for comparison with current statistics.
...
In System Statistics, click the File menu and select Import.
The Open dialog opens.
Browse to the directory where the *.zip file you want to import is located. Select the file and click Open.
The statistical information is now displayed in System Statistics. The same search criteria that were set in the Search System Statistics dialog when the statistics was were exported is displayed.
The date information at the top of the dialog displays the time interval for the imported statistics, and the text "Imported Statistics" also appears in red beside the date information.
Disabling Collection of Statistics
You can disable the collection of statistics on the Platform by setting the following Platform properties to false
in platform.conf
:
mz.statistics.collect.all
- All statisticsmz.statistics.collect.pico
- Pico statisticsmz.statistics.collect.workflow
- Workflow statisticsStatistics
The default value of the properties above is true
.
When you set the property mz.statistics.collect.all
to false
, this overrides the settings of mz.statistics.collect.pico
and mz.statistics.collect.workflow
.
Scroll pagebreak |
---|