File: process.rst

package info (click to toggle)
simplemonitor 1.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,520 kB
  • sloc: python: 8,725; sh: 258; makefile: 74; javascript: 69
file content (35 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
process - running process
^^^^^^^^^^^^^^^^^^^^^^^^^

Check for a running process.

.. confval:: process_name

    :type: string
    :required: true

    the process name to check for

.. confval:: min_count

    :type: integer
    :required: false
    :default: ``1``

    the minimum number of matching processes

.. confval:: max_count

    :type: integer
    :required: false
    :default: infinity

    the maximum number of matching processes

.. confval:: username

    :type: string
    :required: false
    :default: any user

    limit matches to processes owned by this user.