Skip to contentSkip to conversation

examine: save xl info output

PATCH In review Ian Jackson 2 participants 2 messages Oct 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 examine: save xl info output

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.

CC George Dunlap <[email protected]>
CC Roger Pau Monné <[email protected]>
---
 ts-examine-logs-save | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
ts-examine-logs-save +2 -1
index 22aa331..0c97330 100755
@@ -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\$";
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Ian Jackson

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.

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel