Zend WebAPI CPU Values

General discussion forum for the Zend Server

Zend WebAPI CPU Values

Postby marc2570 on 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
marc2570
 
Posts: 2
Joined: Mon Aug 15, 2016 8:31 am
Location: Schweiz

Re: Zend WebAPI CPU Values

Postby anya1 on 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....
anya1
 
Posts: 2
Joined: Sun Apr 19, 2009 1:18 pm

Re: Zend WebAPI CPU Values

Postby marc2570 on Mon Aug 15, 2016 10:25 am

Hi Anya

Perfect, thank you for your reply :)
marc2570
 
Posts: 2
Joined: Mon Aug 15, 2016 8:31 am
Location: Schweiz


Return to Zend Server

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests