Hi Frank,
lshost's maxmem and bhost's total_mem are two different values! maxmem is the installed memory minus the OS/kernel usage, and total_mem the currently available memory on the node. Both values can be seen with the free command, and match the values of the LSF commands:
$ ssh myhost free | awk ' /Mem:/ { print $2/1024, $NF/1024/1024 }'
773047 737.026
$ lshosts -o "hname:20 maxmem:-" myhost
HOST_NAME maxmem
myhost 773046M
~
$ bhosts -o "host_name:20 available_mem:- reserved_mem:- total_mem:-" myhost
HOST_NAME AVAILABLE_MEM RESERVED_MEM TOTAL_MEM
myhost 649.6 Gbytes 87.4 Gbytes 737 Gbytes
Reserved_mem is the reservations of the jobs, with "rusage[mem=...]", minus the actual usage (this node has one job, that has reserved 96GB, and uses 8.6GB). Available_mem is the available memory for a potential job, that could be dispatched to this node, and Total_mem is the sum of the two other fields!
Hope that makes sense! My rule of thumb: lshosts gives you the 'static' picture, while bhosts presents the dynamic values.
Regards, Bernd