Skip to content
Snippets Groups Projects
Commit 8ab71eee authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

memory: update help page

parent a0a17b34
No related branches found
No related tags found
1 merge request!1306468 docs and harmonize
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
# 2022-03-09 v1.6 <axel.hahn@iml.unibe.ch> show most ram intensive processes # 2022-03-09 v1.6 <axel.hahn@iml.unibe.ch> show most ram intensive processes
# 2022-03-10 v1.7 <axel.hahn@iml.unibe.ch> add cli param -p; update help # 2022-03-10 v1.7 <axel.hahn@iml.unibe.ch> add cli param -p; update help
# 2023-02-13 v1.8 <axel.hahn@unibe.ch> shell fixes # 2023-02-13 v1.8 <axel.hahn@unibe.ch> shell fixes
# 2023-07-28 v1.9 <axel.hahn@unibe.ch> update help page
# ====================================================================== # ======================================================================
. "$(dirname $0)/inc_pluginfunctions" . "$(dirname $0)/inc_pluginfunctions"
self_APPNAME=$( basename $0 | tr [:lower:] [:upper:] ) self_APPVERSION=1.9
self_APPVERSION=1.8
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# FUNCTIONS # FUNCTIONS
...@@ -44,16 +44,11 @@ function getMemvalue(){ ...@@ -44,16 +44,11 @@ function getMemvalue(){
echo $( grep "^$1:" /proc/meminfo | awk '{ print $2 }' ) / 1024 | bc echo $( grep "^$1:" /proc/meminfo | awk '{ print $2 }' ) / 1024 | bc
} }
# show help text
function showHelp(){ function showHelp(){
local _self; _self=$(basename $0)
cat <<EOF cat <<EOF
______________________________________________________________________ $( ph.showImlHelpHeader )
$self_APPNAME
v$self_APPVERSION
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
______________________________________________________________________
Check memory usage incl. free, used and total memory. Check memory usage incl. free, used and total memory.
On higher memory usage the process table with top 5 top consumers will On higher memory usage the process table with top 5 top consumers will
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment