Hi,

2013/6/5 Dmitry Smirnov <only...@member.fsf.org>:
>   `pgrep --exact spamd | wc -l`
> or
>   `pgrep --count --exact spamd`
>
> would be an equivalent of
>
>   `zabbix_get -s localhost -k 'proc.num[spamd]'`

Weird, not even 'pgrep' can count them even if 'spamd' is running.
This might have the same cause.

| $ pgrep --count --exact spamd
| 0
| $ pgrep --count --exact spamass-milter
| 1

As noted in the first message, this is a false alert only when
counting 'spamd' processes. All the other proc.num monitoring is
working fine.

Cheers


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to