50 lines
905 B
Groovy
50 lines
905 B
Groovy
|
package biz.nellemann.hmci.pojo
|
||
|
|
||
|
import groovy.transform.ToString
|
||
|
|
||
|
@ToString
|
||
|
class ServerUtil {
|
||
|
ServerProcessor processor
|
||
|
ServerMemory memory
|
||
|
|
||
|
/*
|
||
|
"physicalProcessorPool": {
|
||
|
"assignedProcUnits": [
|
||
|
23.879
|
||
|
],
|
||
|
"utilizedProcUnits": [
|
||
|
0.007
|
||
|
],
|
||
|
"availableProcUnits": [
|
||
|
23.872
|
||
|
],
|
||
|
"configuredProcUnits": [
|
||
|
0.000
|
||
|
],
|
||
|
"borrowedProcUnits": [
|
||
|
16.000
|
||
|
]
|
||
|
},
|
||
|
"sharedProcessorPool": [
|
||
|
{
|
||
|
"id": 0,
|
||
|
"name": "DefaultPool",
|
||
|
"assignedProcUnits": [
|
||
|
23.879
|
||
|
],
|
||
|
"utilizedProcUnits": [
|
||
|
0.005
|
||
|
],
|
||
|
"availableProcUnits": [
|
||
|
23.874
|
||
|
],
|
||
|
"configuredProcUnits": [
|
||
|
6.000
|
||
|
],
|
||
|
"borrowedProcUnits": [
|
||
|
16.000
|
||
|
]
|
||
|
}
|
||
|
]*/
|
||
|
}
|