[RELEASE] Hub Information Driver

I'll have to take a look at it when it comes out, think I have the code ready for the 5m CPU Avg.

1 Like

And it's out .....

1 Like

Pulling it down now...

2 Likes

v1.8.0 is pushing out now - adds CPU% 5 Min Avg

Looking at the database size endpoint now and may have another update ready by the end of the day for it.

The number that the database endpoint brings back, what is the unit KB, MB, ... ?

No idea, not download it yet will have to be 2moz, after I've sorted kids

For me it's a 2 digit number... @gopher.ny any insight?

Pretty sure it is MB. Victor said "50m" is large in another post I saw.

2 Likes

How you doing this if you only poll every 5min?

It is a new performance metric the hub spits out (on the memory endpoint of all places :slight_smile: ). So it is calculated hub-side.

1 Like

Ah yea I missed it was cpu, because everything else is memory

1 Like

I gave Victor crap about it. :slight_smile: There were code/time constraint reasons he shoved it there.

Okay, 1.8.1 has the Database size....

(Corresponding HubConnect driver is v1.1.0)

1 Like

Actually made it easier for me, one less call to code for. :sunglasses:

1 Like

It's file size in bytes divided by 1 million and truncated down to a nearest integer.

2 Likes

so its MB? :wink:

1 Like

Not 1048576?

Close enough to MB I guess ....

2 Likes

Hard drive capacity MB. :wink:

EDIT: I guess it would be more technically correct to say "SI MB" as opposed to "binary MB".

2 Likes

Just updated. Super handy new info!

Wow, @thebearmay, you pulled this together super fast! The new build version JUST came out! :wink:

1 Like

Got a little inside information on where the CPU % was going to be, so I had everything but the DB size already coded.

1 Like