From 16fedced75510983b8eecf1fde04b8f767050631 Mon Sep 17 00:00:00 2001 From: jbar Date: Wed, 9 Jun 2021 13:48:04 +0200 Subject: [PATCH] libos.bash: fix comment for get_total_memory() --- lib/libos.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libos.bash b/lib/libos.bash index 442d547..aff35ca 100644 --- a/lib/libos.bash +++ b/lib/libos.bash @@ -85,7 +85,7 @@ am_i_root() { # Arguments: # None # Returns: -# Memory in bytes +# Memory in mebibytes (1024*1024 bytes) ######################### get_total_memory() { echo $(($(grep MemTotal /proc/meminfo | awk '{print $2}') / 1024))