Commit a33fa228 authored by Leigh Stoller's avatar Leigh Stoller

Merge branch 'patch-8' into 'master'

Incorrect VM count reported in Xen4.9 monitoring code

See merge request !45
parents 85351e24 eaebc271
......@@ -91,7 +91,7 @@ static void num_vms_allocated( char *buf ) {
FILE *f;
int n;
f = popen( "sudo xl vm-list | wc -l", "r" );
f = popen( "sudo xl vm-list|grep -v Domain-0 | wc -l", "r" );
fscanf( f, "%d", &n );
pclose( f );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment