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.jack...@eu.citrix.com>
CC: George Dunlap <george.dun...@citrix.com>
CC: Roger Pau Monné <roger....@citrix.com>
---
 ts-examine-logs-save | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ts-examine-logs-save b/ts-examine-logs-save
index 22aa331..0c97330 100755
--- a/ts-examine-logs-save
+++ b/ts-examine-logs-save
@@ -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\$";
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to