System Resource Monitoring in the Operations Console

VERSION 3 Published

Created on: 07-Jun-2007 11:36 by flux - Last Modified:  26-Feb-2008 16:11 by Guest

This article explains how to configure the Flux Operations Console to display an engine's CPU Usage, Physical Memory Usage, and Virtual Memory Usage. The CPU usage, physical memory usage and virtual memory usage can help you monitor the amount of resources your engine is using.

There are two different approaches that you can take to configure the engines details page in the Operations Console, to contain the system resource information. One is through code and the other though an engine configuration file

For this example you will need the files "show_system_resource_usage.bat" and "memlog.exe". These files are located in your Flux installation under examples\software_developers\system_resource_monitoring. If you are using a Unix environment you will only need "show_system_resource_usage.sh".

These scripts parse the system resource usage from the format they are output in to a format Flux can read.

Configuration Using Code

When creating your engine through code, the following lines need to be added to the configuration:

config.setsystemresourcecommand("show_system_resource_usage.bat"); 
config.setSystemResourceInterval("+3s");


The files "show_system_resource_usage.bat" and "memlog.exe" need to be in the same directory as you are starting the engine in.

Configuring Using Configuration File

Another way to configure the engine?s details is by adding the following lines to your engine configuration file (.fec).

system_resource_command=show_system_resource_usage.bat 
system_resource_interval=+3s


When configuring the engine details using this method the files "show_system_resource_usage.bat" and "memlog.exe" need to be placed in the base installation directory, if you started the engine through the provided start script, or in the directory where you started your engine from.
Average User Rating
(0 ratings)




There are no comments on this document