"V-16-10061-14001HostMonitor:VCShm:monitor:Updating System attribute with CPU usage = n% and Swap usage = n%" is recorded in engine_a.log by VCS

book

Article ID: 100028553

calendar_today

Updated On:

Description

Error Message

2013/05/31 23:07:36 VCS INFO V-16-10061-14001 HostMonitor:VCShm:monitor:Updating System attribute with CPU usage = 8% and Swap usage = 2%.
2013/06/01 00:27:18 VCS INFO V-16-10061-14001 HostMonitor:VCShm:monitor:Updating System attribute with CPU usage = 14% and Swap usage = 2%. 

Resolution

The HostMonitor agent monitors the CPU and Swap utilization of the system during every monitor cycle. It records an entry if either of the following events occur:

1. The CPU and Swap utilization has changed more than 10% compared to the last monitor cycle.
2. The CPU and Swap utilization exceeds, or is equal to, 80%.


For example:

2013/12/02 02:33:52 VCS INFO V-16-10061-14001 HostMonitor:VCShm:monitor:Updating System attribute with CPU usage = 53% and Swap usage = 19%.
2013/12/02 02:34:22 VCS INFO V-16-10061-14001 HostMonitor:VCShm:monitor:Updating System attribute with CPU usage = 46% and Swap usage = 19%.

 

  • CPU usage was 53% in the first cycle. This means that the “free” CPU usage was 47%. And 10% of 47 is 4.7 which is rounded off to 5.
  • CPU usage was 46% in the next cycle. The difference between 46% and 53% is greater than 10%, so an event is logged.

     
 

 

Issue/Introduction

This article discusses the VCS HostMonitor logging mechanism.