Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using monit to monitor all my processes which is matched using.

check process [name] matching [process name pattern]

Monit is able to match using the pattern and "monit procmatch [process name pattern]" lists all the process.

The problem is it is not listing in the web interface, it just displays only the first process.

Is it possible to list all the process in web interface ?

How can I have start and stop commands in monit for all those processes which are matched ?

share|improve this question

Monit only checks the first process matched by the string. If you have any way to refine the pattern to be more unique, you'll have more success. From the monit procmatch output...

[root@abc ~]# monit procmatch dbc
List of processes matching pattern "dbc":
        /ppro/dbcfs/dbcfsrun 9586 dbcfs.cfg 9584:1 -ssl -sport
        dbc DMHOST start cron
        dbc JOBMAN start cron
        /ppro/dbcfs/dbcfs -y
Total matches: 7
WARNING: multiple processes matched the pattern. The check is FIRST-MATCH based, please refine the pattern
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.