Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
49a4f862
authored
Mar 01, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: stat initial commit
parent
11955626
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
554 additions
and
0 deletions
+554
-0
miscellaneous/stat/stat.py
+47
-0
miscellaneous/stat/stat_wrap.sh
+17
-0
miscellaneous/stat/test
+490
-0
No files found.
miscellaneous/stat/stat.py
0 → 100755
View file @
49a4f862
#!/usr/bin/python
import
xmltodict
import
sys
import
json
xml
=
sys
.
stdin
.
read
()
data
=
xmltodict
.
parse
(
xml
)
#CPU stat
cpu_usage
=
0
used_cpu
=
0
cpu_max
=
0
#Memory stat
mem_usage
=
0
used_mem
=
0
mem_max
=
0
#Running VMs
running_vms
=
0
print
"
\n
"
.
join
(
data
[
"HOST_POOL"
][
"HOST"
])
for
host
in
data
[
"HOST_POOL"
]:
cpu_max
+=
int
(
host
[
"HOST_SHARE"
][
"MAX_CPU"
])
used_cpu
+=
int
(
host
[
"HOST_SHARE"
][
"USED_CPU"
])
cpu_usage
+=
int
(
host
[
"HOST_SHARE"
][
"CPU_USAGE"
])
mem_usage
+=
int
(
host
[
"HOST_SHARE"
][
"MEM_USAGE"
])
used_mem
+=
int
(
host
[
"HOST_SHARE"
][
"USED_MEM"
])
mem_max
+=
int
(
host
[
"HOST_SHARE"
][
"MAX_MEM"
])
running_vms
+=
int
(
host
[
"HOST_SHARE"
][
"RUNNING_VMS"
])
free_cpu
=
cpu_max
-
cpu_usage
-
used_cpu
alloc_cpu
=
cpu_usage
-
used_cpu
free_mem
=
mem_max
-
mem_usage
-
used_mem
alloc_mem
=
mem_usage
-
used_mem
cpu_dict
=
{
'FREE_CPU'
:
free_cpu
,
'ALLOC_CPU'
:
alloc_cpu
,
'USED_CPU'
:
used_cpu
}
mem_dict
=
{
'FREE_MEM'
:
free_mem
,
'ALLOC_MEM'
:
alloc_mem
,
'USED_MEM'
:
used_mem
}
print
json
.
dumps
(
cpu_dict
)
print
json
.
dumps
(
mem_dict
)
print
"Running VMs: "
+
str
(
running_vms
)
print
"Global MAX CPU: "
+
str
(
cpu_max
)
print
"Allocated CPU: "
+
str
(
cpu_usage
)
print
"CPU under load: "
+
str
(
used_cpu
)
print
"CPU diff alloc-load: "
+
str
(
cpu_usage
-
used_cpu
)
miscellaneous/stat/stat_wrap.sh
0 → 100755
View file @
49a4f862
#!/bin/bash
export
HOME
=
'/var/www'
export
LANG
=
'en_US.UTF-8'
export
LANGUAGE
=
'en_US:en'
export
LOGNAME
=
'www-data'
export
MAIL
=
'/var/mail/www-data'
export
PATH
=
'/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
export
PWD
=
'/var/www'
export
SHELL
=
'/bin/sh'
export
TERM
=
'screen'
export
USER
=
'www-data'
#export ONE_LOCATION='/var/lib/opennebula'
export
PATH
=
"
$PATH
:
$ONE_LOCATION
/bin"
sudo
-u
oneadmin
-i
onehost list
-x
miscellaneous/stat/test
0 → 100644
View file @
49a4f862
<HOST_POOL>
<HOST>
<ID>2</ID>
<NAME>mega6</NAME>
<STATE>2</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1362046632</LAST_MON_TIME>
<CLUSTER_ID>100</CLUSTER_ID>
<CLUSTER>mega</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>12582912</MEM_USAGE>
<CPU_USAGE>470</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>32937584</MAX_MEM>
<MAX_CPU>1600</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>22752516</FREE_MEM>
<FREE_CPU>1580</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>10185068</USED_MEM>
<USED_CPU>19</USED_CPU>
<RUNNING_VMS>9</RUNNING_VMS>
</HOST_SHARE>
<VMS>
<ID>421</ID>
<ID>532</ID>
<ID>549</ID>
<ID>678</ID>
<ID>714</ID>
<ID>1243</ID>
<ID>1251</ID>
<ID>1260</ID>
<ID>1268</ID>
</VMS>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[2266]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 2 : MONITOR FAILURE 2 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Feb 8 22:17:17 2013]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[1580.8]]></FREECPU>
<FREEMEMORY><![CDATA[22752516]]></FREEMEMORY>
<HOSTNAME><![CDATA[mega6]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU E5520 @ 2.27GHz]]></MODELNAME>
<NETRX><![CDATA[215302575491]]></NETRX>
<NETTX><![CDATA[1574216791392]]></NETTX>
<TOTALCPU><![CDATA[1600]]></TOTALCPU>
<TOTALMEMORY><![CDATA[32937584]]></TOTALMEMORY>
<USEDCPU><![CDATA[19.2]]></USEDCPU>
<USEDMEMORY><![CDATA[10185068]]></USEDMEMORY>
</TEMPLATE>
</HOST>
<HOST>
<ID>3</ID>
<NAME>blade1</NAME>
<STATE>4</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1358424142</LAST_MON_TIME>
<CLUSTER_ID>101</CLUSTER_ID>
<CLUSTER>blade</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>0</MEM_USAGE>
<CPU_USAGE>0</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>16433792</MAX_MEM>
<MAX_CPU>800</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>16040424</FREE_MEM>
<FREE_CPU>800</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>393368</USED_MEM>
<USED_CPU>0</USED_CPU>
<RUNNING_VMS>0</RUNNING_VMS>
</HOST_SHARE>
<VMS/>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[2333]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 3 : MONITOR FAILURE 3 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Dec 28 10:28:37 2012]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[800.0]]></FREECPU>
<FREEMEMORY><![CDATA[16040424]]></FREEMEMORY>
<HOSTNAME><![CDATA[blade1]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU E5345 @ 2.33GHz]]></MODELNAME>
<NETRX><![CDATA[2032199762]]></NETRX>
<NETTX><![CDATA[519158530]]></NETTX>
<TOTALCPU><![CDATA[800]]></TOTALCPU>
<TOTALMEMORY><![CDATA[16433792]]></TOTALMEMORY>
<USEDCPU><![CDATA[0.0]]></USEDCPU>
<USEDMEMORY><![CDATA[393368]]></USEDMEMORY>
</TEMPLATE>
</HOST>
<HOST>
<ID>9</ID>
<NAME>blade2</NAME>
<STATE>4</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1358424142</LAST_MON_TIME>
<CLUSTER_ID>101</CLUSTER_ID>
<CLUSTER>blade</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>0</MEM_USAGE>
<CPU_USAGE>0</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>10240668</MAX_MEM>
<MAX_CPU>200</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>9983120</FREE_MEM>
<FREE_CPU>200</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>257548</USED_MEM>
<USED_CPU>0</USED_CPU>
<RUNNING_VMS>0</RUNNING_VMS>
</HOST_SHARE>
<VMS/>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[3333]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 9 : MONITOR FAILURE 9 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Dec 28 10:28:37 2012]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[200.0]]></FREECPU>
<FREEMEMORY><![CDATA[9983120]]></FREEMEMORY>
<HOSTNAME><![CDATA[blade2]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU X5260 @ 3.33GHz]]></MODELNAME>
<NETRX><![CDATA[2252084768]]></NETRX>
<NETTX><![CDATA[10595986496]]></NETTX>
<TOTALCPU><![CDATA[200]]></TOTALCPU>
<TOTALMEMORY><![CDATA[10240668]]></TOTALMEMORY>
<USEDCPU><![CDATA[0.0]]></USEDCPU>
<USEDMEMORY><![CDATA[257548]]></USEDMEMORY>
</TEMPLATE>
</HOST>
<HOST>
<ID>10</ID>
<NAME>blade3</NAME>
<STATE>4</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1358424142</LAST_MON_TIME>
<CLUSTER_ID>101</CLUSTER_ID>
<CLUSTER>blade</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>0</MEM_USAGE>
<CPU_USAGE>0</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>16433792</MAX_MEM>
<MAX_CPU>800</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>12401604</FREE_MEM>
<FREE_CPU>796</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>4032188</USED_MEM>
<USED_CPU>4</USED_CPU>
<RUNNING_VMS>0</RUNNING_VMS>
</HOST_SHARE>
<VMS/>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[2333]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 10 : MONITOR FAILURE 10 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Dec 28 22:10:28 2012]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[796.0]]></FREECPU>
<FREEMEMORY><![CDATA[12401604]]></FREEMEMORY>
<HOSTNAME><![CDATA[blade3]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU E5345 @ 2.33GHz]]></MODELNAME>
<NETRX><![CDATA[95424749266]]></NETRX>
<NETTX><![CDATA[284788515663]]></NETTX>
<TOTALCPU><![CDATA[800]]></TOTALCPU>
<TOTALMEMORY><![CDATA[16433792]]></TOTALMEMORY>
<USEDCPU><![CDATA[4.0]]></USEDCPU>
<USEDMEMORY><![CDATA[4032188]]></USEDMEMORY>
</TEMPLATE>
</HOST>
<HOST>
<ID>11</ID>
<NAME>mega5</NAME>
<STATE>2</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1362046208</LAST_MON_TIME>
<CLUSTER_ID>100</CLUSTER_ID>
<CLUSTER>mega</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>17825792</MEM_USAGE>
<CPU_USAGE>950</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>32937648</MAX_MEM>
<MAX_CPU>1600</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>17099428</FREE_MEM>
<FREE_CPU>1392</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>15838220</USED_MEM>
<USED_CPU>208</USED_CPU>
<RUNNING_VMS>9</RUNNING_VMS>
</HOST_SHARE>
<VMS>
<ID>432</ID>
<ID>540</ID>
<ID>541</ID>
<ID>667</ID>
<ID>690</ID>
<ID>760</ID>
<ID>799</ID>
<ID>1227</ID>
<ID>1263</ID>
</VMS>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[2266]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 11 : MONITOR FAILURE 11 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Feb 8 22:13:44 2013]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[1392.0]]></FREECPU>
<FREEMEMORY><![CDATA[17099428]]></FREEMEMORY>
<HOSTNAME><![CDATA[mega5]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU E5520 @ 2.27GHz]]></MODELNAME>
<NETRX><![CDATA[63650381314]]></NETRX>
<NETTX><![CDATA[33549680144]]></NETTX>
<TOTALCPU><![CDATA[1600]]></TOTALCPU>
<TOTALMEMORY><![CDATA[32937648]]></TOTALMEMORY>
<USEDCPU><![CDATA[208.0]]></USEDCPU>
<USEDMEMORY><![CDATA[15838220]]></USEDMEMORY>
</TEMPLATE>
</HOST>
<HOST>
<ID>12</ID>
<NAME>mega4</NAME>
<STATE>2</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1362046491</LAST_MON_TIME>
<CLUSTER_ID>100</CLUSTER_ID>
<CLUSTER>mega</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>15728640</MEM_USAGE>
<CPU_USAGE>660</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>49454996</MAX_MEM>
<MAX_CPU>2400</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>38047512</FREE_MEM>
<FREE_CPU>2395</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>11407484</USED_MEM>
<USED_CPU>4</USED_CPU>
<RUNNING_VMS>10</RUNNING_VMS>
</HOST_SHARE>
<VMS>
<ID>460</ID>
<ID>538</ID>
<ID>539</ID>
<ID>543</ID>
<ID>607</ID>
<ID>877</ID>
<ID>1200</ID>
<ID>1255</ID>
<ID>1262</ID>
<ID>1269</ID>
</VMS>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[1600]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 12 : MONITOR FAILURE 12 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Feb 8 22:17:17 2013]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[2395.2]]></FREECPU>
<FREEMEMORY><![CDATA[38047512]]></FREEMEMORY>
<HOSTNAME><![CDATA[mega4]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU X5675 @ 3.07GHz]]></MODELNAME>
<NETRX><![CDATA[154783474539]]></NETRX>
<NETTX><![CDATA[112244748012]]></NETTX>
<TOTALCPU><![CDATA[2400]]></TOTALCPU>
<TOTALMEMORY><![CDATA[49454996]]></TOTALMEMORY>
<USEDCPU><![CDATA[4.80000000000018]]></USEDCPU>
<USEDMEMORY><![CDATA[11407484]]></USEDMEMORY>
</TEMPLATE>
</HOST>
<HOST>
<ID>13</ID>
<NAME>mega3</NAME>
<STATE>2</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1362046405</LAST_MON_TIME>
<CLUSTER_ID>100</CLUSTER_ID>
<CLUSTER>mega</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>28835840</MEM_USAGE>
<CPU_USAGE>890</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>49454996</MAX_MEM>
<MAX_CPU>2400</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>27997516</FREE_MEM>
<FREE_CPU>2395</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>21457480</USED_MEM>
<USED_CPU>4</USED_CPU>
<RUNNING_VMS>10</RUNNING_VMS>
</HOST_SHARE>
<VMS>
<ID>403</ID>
<ID>412</ID>
<ID>440</ID>
<ID>458</ID>
<ID>459</ID>
<ID>550</ID>
<ID>591</ID>
<ID>609</ID>
<ID>759</ID>
<ID>908</ID>
</VMS>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[1600]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 13 : MONITOR FAILURE 13 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Feb 8 22:15:24 2013]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[2395.2]]></FREECPU>
<FREEMEMORY><![CDATA[27997516]]></FREEMEMORY>
<HOSTNAME><![CDATA[mega3]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU X5675 @ 3.07GHz]]></MODELNAME>
<NETRX><![CDATA[179556365753]]></NETRX>
<NETTX><![CDATA[84194722741]]></NETTX>
<TOTALCPU><![CDATA[2400]]></TOTALCPU>
<TOTALMEMORY><![CDATA[49454996]]></TOTALMEMORY>
<USEDCPU><![CDATA[4.80000000000018]]></USEDCPU>
<USEDMEMORY><![CDATA[21457480]]></USEDMEMORY>
</TEMPLATE>
</HOST>
<HOST>
<ID>15</ID>
<NAME>mega1</NAME>
<STATE>2</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1362046705</LAST_MON_TIME>
<CLUSTER_ID>100</CLUSTER_ID>
<CLUSTER>mega</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>36700160</MEM_USAGE>
<CPU_USAGE>1085</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>49520964</MAX_MEM>
<MAX_CPU>2400</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>18859800</FREE_MEM>
<FREE_CPU>2371</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>30661164</USED_MEM>
<USED_CPU>28</USED_CPU>
<RUNNING_VMS>12</RUNNING_VMS>
</HOST_SHARE>
<VMS>
<ID>408</ID>
<ID>534</ID>
<ID>535</ID>
<ID>536</ID>
<ID>537</ID>
<ID>542</ID>
<ID>626</ID>
<ID>685</ID>
<ID>696</ID>
<ID>708</ID>
<ID>880</ID>
<ID>1201</ID>
</VMS>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[1600]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 15 : MONITOR FAILURE 15 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Feb 8 22:20:20 2013]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[2371.2]]></FREECPU>
<FREEMEMORY><![CDATA[18859800]]></FREEMEMORY>
<HOSTNAME><![CDATA[mega1]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU X5670 @ 2.93GHz]]></MODELNAME>
<NETRX><![CDATA[46593679744]]></NETRX>
<NETTX><![CDATA[36440944329]]></NETTX>
<TOTALCPU><![CDATA[2400]]></TOTALCPU>
<TOTALMEMORY><![CDATA[49520964]]></TOTALMEMORY>
<USEDCPU><![CDATA[28.8000000000002]]></USEDCPU>
<USEDMEMORY><![CDATA[30661164]]></USEDMEMORY>
</TEMPLATE>
</HOST>
<HOST>
<ID>16</ID>
<NAME>mega2</NAME>
<STATE>2</STATE>
<IM_MAD>im_kvm</IM_MAD>
<VM_MAD>vmm_kvm</VM_MAD>
<VN_MAD>ovswitch</VN_MAD>
<LAST_MON_TIME>1362046476</LAST_MON_TIME>
<CLUSTER_ID>100</CLUSTER_ID>
<CLUSTER>mega</CLUSTER>
<HOST_SHARE>
<DISK_USAGE>0</DISK_USAGE>
<MEM_USAGE>16777216</MEM_USAGE>
<CPU_USAGE>550</CPU_USAGE>
<MAX_DISK>0</MAX_DISK>
<MAX_MEM>49455072</MAX_MEM>
<MAX_CPU>2400</MAX_CPU>
<FREE_DISK>0</FREE_DISK>
<FREE_MEM>39782788</FREE_MEM>
<FREE_CPU>2376</FREE_CPU>
<USED_DISK>0</USED_DISK>
<USED_MEM>9672284</USED_MEM>
<USED_CPU>24</USED_CPU>
<RUNNING_VMS>9</RUNNING_VMS>
</HOST_SHARE>
<VMS>
<ID>1189</ID>
<ID>1195</ID>
<ID>1198</ID>
<ID>1229</ID>
<ID>1244</ID>
<ID>1256</ID>
<ID>1257</ID>
<ID>1259</ID>
<ID>1261</ID>
</VMS>
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[1600]]></CPUSPEED>
<ERROR>
<MESSAGE><![CDATA[Error monitoring host 16 : MONITOR FAILURE 16 -
]]></MESSAGE>
<TIMESTAMP><![CDATA[Fri Feb 8 22:15:24 2013]]></TIMESTAMP>
</ERROR>
<FREECPU><![CDATA[2376.0]]></FREECPU>
<FREEMEMORY><![CDATA[39782788]]></FREEMEMORY>
<HOSTNAME><![CDATA[mega2]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU X5670 @ 2.93GHz]]></MODELNAME>
<NETRX><![CDATA[12341402713]]></NETRX>
<NETTX><![CDATA[4465978862]]></NETTX>
<TOTALCPU><![CDATA[2400]]></TOTALCPU>
<TOTALMEMORY><![CDATA[49455072]]></TOTALMEMORY>
<USEDCPU><![CDATA[24.0]]></USEDCPU>
<USEDMEMORY><![CDATA[9672284]]></USEDMEMORY>
</TEMPLATE>
</HOST>
</HOST_POOL>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment