]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
examine: save xl info output
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 9 Oct 2017 11:30:31 +0000 (12:30 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 9 Oct 2017 11:33:25 +0000 (12:33 +0100)
One reason we want this is that it contains a reasonably easy-to-parse
record of the host memory.

When we have collected this information for all hosts, as xl info
output, we can write a program to copy the information into a host
property.  This will allow us to restrict certain jobs to hosts with
enough memory.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: George Dunlap <George.Dunlap@citrix.com>
CC: Roger Pau Monné <roger.pau@citrix.com>
ts-examine-logs-save

index 22aa33199061690a6489748f6ae0a0d7a00a8d12..0c97330b55cf334f9f61cd5ef80e4ee0d8edd0fe 100755 (executable)
@@ -82,7 +82,8 @@ sub save_logs () {
                        -output-cat_#proc#modules
                        -output-cat_#proc#partitions
                        -output-ifconfig
-                       -output-lspci_-tv)) {
+                       -output-lspci_-tv
+                       -output-xl_info_-n)) {
        my $re = $pat;
        $re =~ s/^-/\Q$ho->{Name}\E-/;
        push @re, "^$re\$";