process check problem
Adam Scheblein
adam.scheblein at marquette.edu
Tue Nov 15 16:08:28 CET 2005
Greetings,
I have modified the ps in all my clients so that it also sends out
per-process cpu usage, and now am trying to use a regular perl
expression in the search for processes with a certain usage percentage.
Here is what i have:
%(8\d{2}\.\d{2})|(9[0-4]\.\d{2}) and %(9[5-9]\.\d{2})|(1\d{2}\.\d{2}) as
2 of my searches
These don't work however, because they pull up everything that is 8.xx
8x.xx 9.xx 9x.xx 1.xx 1x.xx and 1xx.xx I know these espressions work,
because i tested them in a perl application... all i am trying to make
it pull out is 8x.xx 9x.xx and 1xx.xx
Any ideas for a fix (either a patch or another way to do this type of a
search)??
thanks,
Adam
More information about the Xymon
mailing list