client regex, % on web page
list David Gore
ps -ef|grep SystemMate root 2737 1 0.0 Sep 13 ?? 04:42:21 /usr/kits/SystemMate/jre/bin/../bin/alpha/native_threads/java -classpath /usr/kits/SystemMate/classes:/usr/kits/SystemMate -DSTM_ROOT_PATH=/usr/kits/SystemMate webTemip.server.start.TemipServer With 'ps -ef' webTemip.server.start.TemipServer (found 1, req. 1 or more) /usr/ucb/ps wwaux|grep SystemMate root 2737 0.0 0.7 43.6M 34M ?? S Sep 13 04:42:21 /usr/kits/SystemMate/jre/bin/../bin/alpha/native_threads/java -classpath /usr/kits/SystemMate/classes:/usr/kits/SystemMate -DSTM_ROOT_PATH=/usr/kits/SystemMate webTemip.server.start.TemipServer 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. 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 was also wondering do the config files actually support all the perl regex characters like \s, \d+ etc...? ~David
list Henrik Størner
▸
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 ?
▸
I was also wondering do the config files actually support all the perl regex characters like \s, \d+ etc...?
It does, thanks to the PCRE library being used. Regards, Henrik
list David Gore
▸
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
list David Gore
▸
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 ?
Actually, something I was hoping to do, but I think, it produced strange results was something like this: PROC "webTemip.server.start.TemipServer" # SystemMate PROC "%SystemMate" # SystemMate Actually that comment is ok. It's when you put the comment in the middle of the list before PROC, that you get your list truncated, like this: PROC someproc #PROC someotherproc PROC moreproc Regardless, perhaps the comment on the proc line could be what we want displayed or you could tag it similar to bb-hosts. ~David