BB Unix Network Monitor - Message

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

Re: {bb} Monitoring a process with a ":" in the argument



owner-bb@bb4.com wrote on 2005-11-04 15:42:23:
>> The line in bb-proctab is as follows:
>> localhost::"f60srvm port=10088 pool=1 mode=socket" "/usr/bin/X11/X :1 
-ac 
>> -fbdir /var/X11/Xserver" httpd;>=4
>> 
>> 
>> /usr/bin/X11/X >=1 - 1 instance running 

> 
> We monitor a specific VNC session, also ":1", on our servers... 
> this is our solution (from bb-proctab): 
> 
> nco_pad bbrun cron trap2mysql_w.pl "Xvnc .1 " mysqld syslogd 
> 
> Substitute the ":" with a ".", and all should work for you.  Hope that 
helps!

Thanks, that works like a charm!

I ran in a little second problem, but rtfm fixed that ;) the ;=1 must be 
between the double quotes.

eg wrong:
localhost::"f60srvm port=10088 pool=1 mode=socket" "/usr/bin/X11/X .1 -ac 
-fbdir /var/X11/Xserver";=1 httpd;>=4

and good:
localhost::"f60srvm port=10088 pool=1 mode=socket" "/usr/bin/X11/X .1 -ac 
-fbdir /var/X11/Xserver;=1" httpd;>=4



Have a good weekend everyone :)

Greetings,
/Frank.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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