Skip to content
Snippets Groups Projects

6468 docs and harmonize

Merged Hahn Axel (hahn) requested to merge 6468-docs-and-harmonize into master

Files

+ 7
13
@@ -12,11 +12,11 @@
@@ -12,11 +12,11 @@
# 2022-08-31 v1.3 <axel.hahn@iml.unibe.ch> add help; shellfix corrections
# 2022-08-31 v1.3 <axel.hahn@iml.unibe.ch> add help; shellfix corrections
# 2022-08-31 v1.4 <axel.hahn@iml.unibe.ch> add help; shellfix corrections
# 2022-08-31 v1.4 <axel.hahn@iml.unibe.ch> add help; shellfix corrections
# 2023-06-19 v1.5 <axel.hahn@unibe.ch> no more tmpfile
# 2023-06-19 v1.5 <axel.hahn@unibe.ch> no more tmpfile
 
# 2023-07-27 v1.6 <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.6
self_APPVERSION=1.5
# url=`hostname -f`/server-status
# url=`hostname -f`/server-status
url=localhost/server-status
url=localhost/server-status
@@ -41,15 +41,9 @@ paramsWget="-T 5 -t 1 --no-check-certificate"
@@ -41,15 +41,9 @@ paramsWget="-T 5 -t 1 --no-check-certificate"
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
function showHelp(){
function showHelp(){
cat <<EOF
local _self; _self=$(basename $0)
______________________________________________________________________
cat <<EOF
$( ph.showImlHelpHeader )
$self_APPNAME
v$self_APPVERSION
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
______________________________________________________________________
Get Apache httpd server-status page $url.
Get Apache httpd server-status page $url.
You get output with the server status and values for each slot type.
You get output with the server status and values for each slot type.
@@ -80,7 +74,7 @@ Slot types of apache httpd:
@@ -80,7 +74,7 @@ Slot types of apache httpd:
SYNTAX:
SYNTAX:
$(basename $0) [-w WARN_LIMIT] [-c CRITICAL_LIMIT]
$_self [-w WARN_LIMIT] [-c CRITICAL_LIMIT]
OPTIONS:
OPTIONS:
@@ -95,7 +89,7 @@ PARAMETERS:
@@ -95,7 +89,7 @@ PARAMETERS:
EXAMPLE:
EXAMPLE:
$(basename $0) -w 60 -c 80
$_self -w 60 -c 80
EOF
EOF
}
}
Loading