Zend WebAPI CPU Values

General discussion forum for the Zend Server
Post Reply
marc2570
Posts: 2
Joined: Mon Aug 15, 2016 8:31 am
Location: Schweiz

Zend WebAPI CPU Values

Post by marc2570 » Mon Aug 15, 2016 8:37 am

Hi Together

I have problems to understand the returned values when i ask my Zend server to give me the AVG_CPU_USAGE over the WebAPI. I received a lot of numbers. But what did they values mean ?

Zend Server: 9.0
API Version: 1.12

Example:

(int) 0 => object(stdClass) {
title => 'CPU Usage'
yTitle => 'CPU usage'
valueType => '%'
name => 'CPU Usage'
data => [
(int) 0 => [
(int) 0 => (float) 1439630752000,
(int) 1 => (int) 0
],
(int) 1 => [
(int) 0 => (float) 1470016800000,
(int) 1 => (int) 0
]

Thank you

anya1
Posts: 2
Joined: Sun Apr 19, 2009 1:18 pm

Re: Zend WebAPI CPU Values

Post by anya1 » Mon Aug 15, 2016 9:34 am

Hi Marc,

The values that you get in 'data' are timestamps and average of cpu usage in this time:
for example, in timestamp 1439630752000 (milliseconds) was ~0% of cpu usage....

marc2570
Posts: 2
Joined: Mon Aug 15, 2016 8:31 am
Location: Schweiz

Re: Zend WebAPI CPU Values

Post by marc2570 » Mon Aug 15, 2016 10:25 am

Hi Anya

Perfect, thank you for your reply :)

Post Reply