<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span style="line-height: 1.7;">Hi All,</span><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; ">&nbsp;I need to get the number of All running VMs of the oVirt-engine.</div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; ">&nbsp;My&nbsp;thought is first get all hosts with "up" status and then&nbsp;<span style="line-height: 1.7; ">traverse each host and count the&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><span style="line-height: 1.7; ">&nbsp;VM with&nbsp;</span><span style="line-height: 1.7; ">state&nbsp;</span><span style="line-height: 1.7; ">"Running"&nbsp;</span><span style="line-height: 1.7; ">.</span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><span style="line-height: 1.7; "><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; ">&nbsp; Does this method&nbsp;</span>feasible,and is there any easier way to count the running VMs of oVirt-engine?</div><div><br></div><div>&nbsp;Best Regards</div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><span style="line-height: 1.7; "><br></span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><span style="line-height: 1.7; ">&nbsp;&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; ">&nbsp;</div></div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>