Skip to content
Snippets Groups Projects

6468 docs and harmonize

Merged Hahn Axel (hahn) requested to merge 6468-docs-and-harmonize into master
1 file
+ 5
10
Compare changes
  • Side-by-side
  • Inline
+ 5
10
@@ -25,13 +25,13 @@
# 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
# 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"
self_APPNAME=$( basename $0 | tr [:lower:] [:upper:] )
self_APPVERSION=1.8
self_APPVERSION=1.9
# ----------------------------------------------------------------------
# FUNCTIONS
@@ -44,16 +44,11 @@ function getMemvalue(){
echo $( grep "^$1:" /proc/meminfo | awk '{ print $2 }' ) / 1024 | bc
}
# show help text
function showHelp(){
local _self; _self=$(basename $0)
cat <<EOF
______________________________________________________________________
$self_APPNAME
v$self_APPVERSION
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
______________________________________________________________________
$( ph.showImlHelpHeader )
Check memory usage incl. free, used and total memory.
On higher memory usage the process table with top 5 top consumers will
Loading