A target software behavior pattern recognition and analysis tool is
disclosed that operates during the real-time execution of monitored
target software on a computer, derives a subset of measurements
indicating the target software performance and activity, automatically
derives a baseline from the subset of measurements, and establishes a
state of health of the target software based on comparing real-time
measurements to the baseline. The monitored target software contains an
agent for deriving a subset of measurements indicating the target
software performance and activity. The agent includes sensors embedded
into the target software to measure specific code segments, and an
examiner which receives measurements from the sensors and transmits these
examiner values to a central server. The central server automatically
derives a baseline from the received examiner values, and automatically
establishes a state of health of the target software based on comparing
real-time measurements to the baseline.