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
43c3fca4
Commit
43c3fca4
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
add docs for check_proc_mem
parent
c007fc64
Branches
Branches containing commit
No related tags found
1 merge request
!226
update check_proc_mem; add doc page; speedup 5..10 times
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/20_Checks/_index.md
+1
-1
1 addition, 1 deletion
docs/20_Checks/_index.md
docs/20_Checks/check_proc_mem.md
+72
-0
72 additions, 0 deletions
docs/20_Checks/check_proc_mem.md
with
73 additions
and
1 deletion
docs/20_Checks/_index.md
+
1
−
1
View file @
43c3fca4
...
@@ -37,7 +37,7 @@ There is one include script used by all checks:
...
@@ -37,7 +37,7 @@ There is one include script used by all checks:
*
[
check_opencpu
](
check_opencpu.md
)
*
[
check_opencpu
](
check_opencpu.md
)
*
[
check_packages2install
](
check_packages2install.md
)
*
[
check_packages2install
](
check_packages2install.md
)
*
[
check_php-fpm-status
](
check_php-fpm-status.md
)
*
[
check_php-fpm-status
](
check_php-fpm-status.md
)
*
check_proc_mem
*
[
check_proc_mem
](
check_proc_mem.md
)
*
check_proc_ressources
*
check_proc_ressources
*
check_proc_zombie
*
check_proc_zombie
*
[
check_psqlserver
](
check_psqlserver.md
)
*
[
check_psqlserver
](
check_psqlserver.md
)
...
...
This diff is collapsed.
Click to expand it.
docs/20_Checks/check_proc_mem.md
0 → 100644
+
72
−
0
View file @
43c3fca4
# Check memory consuming processes
## Introduction
Show processes that consume the most memory.
You get a list with process name, total usage of all its processes, count of instances.
## Requirements
Nothing special.
## Syntax
```
txt
______________________________________________________________________
CHECK_PROC_MEM
v1.3
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_proc_mem.html
______________________________________________________________________
Show processes that consume the most memory.
You get a list with processes consuming
* more than the critical limit
* between warning and critical limit
SYNTAX:
check_proc_mem [-h] [-c VALUE] [-w VALUE]
OPTIONS:
-h, --help
this help
PARAMETERS:
-c, --critical VALUE
critical level in MB (default: 500)
-w. --warning VALUE
warning level in MB (default: 100)
EXAMPLE:
check_proc_mem
Check processes with initial memory values
check_proc_mem -w 1000 -c 2000
Check processes consuming more than 1000 MB and mark those as critical
that use more than 2000 MB.
```
## Examples
### Default options
`./check_proc_mem`
returns
```
txt
CRITICAL: Memory consuming processes - 3 processes use 500 MB+ (critical) ... 1 processes use 100..500 MB
Critical mariadbd 2250 MB 1 2250.473 MB
Critical apache2 861 MB 12 71.748 MB
Critical php-fpm8.2 645 MB 37 17.444 MB
Warning icinga2 271 MB 3 90.365 MB
```
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