On Fri, 2005-09-02 at 13:02 -0500, Mahaveer Jain wrote: > /users/webapp/afweb/weblogic/wls70sp4/AB6_QAC_ADM/bin/../bin/sparc > > /users/webtapp/afweb/weblogic/wls70sp4/AB6_QAC_B/bin/../bin/sparc/ > > I have tried following options under uxmon-net but BS displays indicates red > > localhost alternate=yes proc=AB6_QAC_B procs So, actually the process running does only carry the AB6_QAC_B in its path, not in its name? This is not supported directly, the procs monitor does only support monitoring processes by their name as they appear in the "ps" command (on Solaris uxmon will either use "/usr/ucb/ps cax" or "ps -e" depending on the Big Sister version). Anyway, you can get uxmon to monitor what you want by providing a script replacing the "ps" command: > > localhost proc=AB6_QAC_B procs localhost pscomm=/usr/local/bin/myps proc=AB6_QAC_B procs "myps" must be a script emitting a list of processes (usually at least with their pid, though not required). Since you need your weblogic processes being identified by a part of their path rather than their actual name, your script might run "ps -e -opid,comm" and treat weblogic processes specially, something like #!/bin/sh ps -e -opid,comm | sed -e 's#weblogic/wls70sp4/\([^/]*\).*#\1#' Should actually do the trick without hurting non-weblogic processes. Best regards, Tom -- ---------------------------------------------------------------------------- Thomas Aeby, Kirchweg 52, 1735 Giffers, Switzerland, Tel: (+41)264180040 Internet: suppressed PGP public key available ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bigsister-general mailing list suppressed https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.