BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} bb-proctab issues
I have tried wrapping each process expression within single quotes and it
still does not work. I also tried breaking up the larger (3 proc) localhost
entry down to a single proc entry:
--------------------
localhost : : "'java' '-Xmx256m' '-classpath'
'.:gateway.jar:lib/jsockets1_9_2.jar:lib/live.jar:lib/xerces.jar'
'com.cicada.news.thomson.CThomsonGateway'
'/export/home/cpluser/cmpr/thomson-gateway/cfg/gateway.properties';>=1"
--------------------
BB doesn't seem to like inserting the single quotations . . . it seems as if
it takes each as an individual quotes as a separate process to search for.
So, to sum it up; if I remark out the first localhost entry below, the
second works . . . in the fashion that it checks only for " java -Xmx256m
-classpath ." and shows three processes running (where it should list each
out individually). If I remark out the second localhost check, the first
will work just fine (whole process name and all). If I leave both checks in
place . . . it breaks them both:
---------------------
localhost : : "/opt/com/j2sdk1.4.2_05/bin/java -server -Xms1024m -Xmx1024m
-XX:MaxNewSize=24m -XX:NewSize=24m -XX:SurvivorRatio=128 -XX:+UseConc
MarkSweepGC -XX:MaxTenuringThreshold=0 -XX:CMSInitiatingOccupancyFraction=60
-Djava.endorsed.dirs=/export/home/cpluser/jakarta-tomcat-5.0.28/co;
>=1"
localhost : : "java -Xmx256m -classpath
.:gateway.jar:lib/jsockets1_9_2.jar:lib/live.jar:lib/xerces.jar
com.cicada.news.thomson.CThomsonGateway
/export/home/cpluser/cmpr/thomson-gateway/cfg/gateway.properties;>=1" "java
-Xmx256m -classpath .:gateway.jar:lib/jsockets1_9_2.jar:lib/live.ja
r:lib/xerces.jar com.cicada.news.thomson.CThomsonGateway
/export/home/cpluser/cmpr/thomson-gateway/cfg/gateway2.properties;>=1" "java
-Xmx256m -
classpath .:gateway.jar:lib/jsockets1_9_2.jar:lib/live.jar:lib/xerces.jar
com.cicada.news.thomson.CThomsonGateway /export/home/cpluser/cmpr/thom
son-gateway/cfg/gateway3.properties;>=1"
---------------------
I'm probably just screwing up something simple here.
Thanks,
Shad
-----Original Message-----
From: Larry Sabados (IT) [mailto:LSABADOS@bordersgroupinc.com]
Sent: Wednesday, July 13, 2005 11:19 AM
To: bb@bb4.com
Subject: RE: {bb} bb-proctab issues
Did you try surrounding the whole process expressions individually with
single quotes? Each process expression, if containing spaces must be
presented with the single quotes to resolve the entire process "name".
-Larry
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Shad Taylor
Sent: Tuesday, July 12, 2005 6:37 PM
To: 'bb@bb4.com'
Subject: {bb} bb-proctab issues
Brethren,
I'm running into a strange issue monitoring long process names/paths. I
have been monitoring several processes for quite some time with no issue
(including the first java process listed in the below snip from the
bb-proctab in question):
localhost : : "/opt/com/j2sdk1.4.2_05/bin/java -server -Xms1024m -Xmx1024m
-XX:MaxNewSize=24m -XX:NewSize=24m -XX:SurvivorRatio=128
-XX:+UseConcMarkSweepGC -
XX:MaxTenuringThreshold=0 -XX:CMSInitiatingOccupancyFraction=60
-Djava.endorsed.dirs=/export/home/cpluser/jakarta-tomcat-5.0.28/co;>=1"
-------------------------
Today, I added the following to the bb-proctab (completely separate
localhost line . . . I have tried consolidating to one line as well):
localhost : : "java -Xmx256m -classpath
.:gateway.jar:lib/jsockets1_9_2.jar:lib/live.jar:lib/xerces.jar
com.cicada.news.thomson.CThomsonGateway /export/home/c
pluser/cmpr/thomson-gateway/cfg/gateway.properties;>=1" "java -Xmx256m
-classpath .:gateway.jar:lib/jsockets1_9_2.jar:lib/live.jar:lib/xerces.jar
com.cicada.n
ews.thomson.CThomsonGateway
/export/home/cpluser/cmpr/thomson-gateway/cfg/gateway2.properties;>=1" "java
-Xmx256m -classpath .:gateway.jar:lib/jsockets1_9_2.j
ar:lib/live.jar:lib/xerces.jar com.cicada.news.thomson.CThomsonGateway
/export/home/cpluser/cmpr/thomson-gateway/cfg/gateway3.properties;>=1"
------------------------
Now my files check shows:
&red -XX >=1 - not running, requires at least 1
&red -Xmx1024m >=1 - not running, requires at least 1
&red -Xms1024m >=1 - not running, requires at least 1
&green java -Xmx256m -classpath . >=1 - 3 instances running
------------------------
If I remark out the first "localhost" line, it will obviously remove the
"red" failed checks for the process listing that has always worked
previously. If I remark out the second localhost line (the addition added
today)from my bb-proctab, the first check then processes as usual and does
not fail either.
I can understand that the process checking may not grep the entire name, and
so it shows only the "java -Xmx256m -classpath ." for the three individual
processes I actually have listed (for the new addition). What I do not
understand is why the first java check fails when I add these three new
processes I'm now monitoring?
If anyone can point me in the right direction, I would greatly appreciate
it.
Shad
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index