You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2013/08/22 18:07:51 UTC
[jira] [Updated] (UIMA-3208) DUCCs Agent Incorrectly Computes
Process CPU Usage
[ https://issues.apache.org/jira/browse/UIMA-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik updated UIMA-3208:
--------------------------------
Summary: DUCCs Agent Incorrectly Computes Process CPU Usage (was: DUCCs Agent Computes Process CPU Usage Incorrectly)
> DUCCs Agent Incorrectly Computes Process CPU Usage
> ---------------------------------------------------
>
> Key: UIMA-3208
> URL: https://issues.apache.org/jira/browse/UIMA-3208
> Project: UIMA
> Issue Type: Bug
> Components: DUCC
> Affects Versions: 1.0-Ducc
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
>
> Modify agent to calculate the process usage as follows:
> At the transition from init->run mode:
> capture totalCpuUsage value and save as totalCpuInitUsage
> capture current timestamp and save as clockAtStartOfRun
> On each agent report for the process (or process group?) while in running state:
> compute lastPercentCPU = 100 * (totalCpuUsage - totalCpuInitUsage) / (currentTimestamp - clockAtStartOfRun)
> send lastPercentCPU
> On each agent report after running state ends:
> send lastPercentCPU (e.g. do not recompute)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira