Previous: Process exclusion, Up: Configuration file [Contents][Index]
An alternative way to define a process group (both inclusive and
exclusive). This statement is used in persistent storage
configuration files the program creates upon shutdown. A
defgroup
statement declares a process group created via the
remote management interface (see Remote management, for details).
The use of this statement for other purposes is expressly discouraged.
The arguments are:
excl | 1 if it’s an exclusion list, 0 otherwise. |
name | Name of the group. |
pattern | The pattern. |
field | Field name code: 0 for comm , 1 for exe , and 2 for cmdline. |
match | Match method: 0 for exact , 1 for basename , and 2 for regex . |
min | Minimum process count. |
max | Maximum process count. |
vsize | Maximum virtual memory size (kB). |
rss | Maximum RSS size (kB). |
cpu | Maximum CPU usage (percent). |
If the statement refers to a group already defined in the main configuration file, that group is changed accordingly. Otherwise a new group is created.