Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Commits
8ab71eee
Commit
8ab71eee
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
memory: update help page
parent
a0a17b34
No related branches found
No related tags found
1 merge request
!130
6468 docs and harmonize
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check_memory
+5
-10
5 additions, 10 deletions
check_memory
with
5 additions
and
10 deletions
check_memory
+
5
−
10
View file @
8ab71eee
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment