/usr/share/check_mk/checks-man/ps.perf is in check-mk-server 1.2.2p3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | title: Check for running process and send additional performance data
agents: linux
author: Mathias Kettner <mk@mathias-kettner.de>
license: GPL
distribution: check_mk
description:
This check does exactly the same as {ps}, but in addition
outputs performance data. Please refer to the manpage of {ps} for more details.
perfdata:
In all cases the number of matching running processes found on the target
system is sent. If the agent supports it, also the virtual prozess size (VSZ)
and the resident size (RSS) in kB is send as well as the percentage of CPU
used by the matching processes.
If more than one process is matching, the values are added. The actual memory
usage of all processes together might be significantly smaller than the computed
size since they might (and most propably do) share memory.
inventory:
{ps.perf} supports inventory in exactly the same way as {ps}, just
that the variable {inventory_processes_perf} is used instead of
{inventory_processes}.
[parameters]
params (5 or 6 tuple): Please refer to {ps} for information about the parameters.
[configuration]
inventory_processes_perf (list): A list of 7-tuples. See {ps} for details.
|