[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] client regex, % on web page



Henrik Stoerner wrote:

On Thu, Aug 11, 2005 at 08:09:44PM +0000, David Gore wrote:


With 'ps -ef'

webTemip.server.start.TemipServer (found 1,  req. 1 or more)

With 'ps wwaux'

%SystemMate (found 1,  req. 1 or more)

These are the same process. Everyone here knows what SystemMate is, but they may not know what the first instance is.

I know I asked this before, but I didn't know if you may have missed it.



Didn't miss it, just haven't decided about it yet.

The simple solution is to just relax the process-name check so it
matches if the search string is found anywhere in the commandline.
That's what BB does, and it is probably what I am going to do.



I can imagine the regex parsing can be quite complicated, so I was just wondering if you were still looking at removing the '%' from the web page.



I can do that - no problem - but it does bring up the issue of how to report it. Your example is very straight-forward, but I can imagine some setup where you use more complex regular expressions ... is it really OK for Hobbit to present

   ^j[234]+.*(re|vm) (found 4, req. 2 or more)

and expect anyone to nod and say "yup, looks all-right to me" ?

Or should there be some way of providing a human-readable text so
ordinary users (read: PHB's) can make sense of it ?




Ouch. I didn't realize it showed the whole regular expression until I just tested something more complicated. I initially thought it was just the leading '%'.


Ok, so yes I would like to see something more human readable or at least remove the leading '%' since I am usually just doing simple strings.


~David