changeset 218: |
f88e8a46080b |
parent 217: |
98abb7f50885 |
child 219: |
b1a96e0e3add |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Tue, 30 Apr 2024 22:35:33 -0400 |
files: |
check.sh |
description: |
check mem |
1.1--- a/check.sh Tue Apr 30 23:18:48 2024 +0000
1.2+++ b/check.sh Tue Apr 30 22:35:33 2024 -0400
1.3@@ -19,6 +19,7 @@
1.4 host_config_file=host.sxp
1.5 rm -f $host_config_file
1.6 check_mem
1.7+ local _mem_total="$RETVAL"
1.8 check_disk
1.9 check_mod kvm
1.10 get_architecture || return 1
1.11@@ -32,6 +33,7 @@
1.12 check_cpus
1.13 local _num_cpus="$RETVAL"
1.14 _write ":cpus $_num_cpus"
1.15+ _write ":mem $_mem_total"
1.16 case "$_arch" in
1.17 *windows*)
1.18 _write ":ext \"exe\""