[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changing ports.
- To: hobbit (at) hswn.dk
- Subject: Changing ports.
- From: Kii NODA <kii.noda (at) gmail.com>
- Date: Tue, 2 Mar 2010 20:42:55 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=uugHa+RJySgip6+rP66BiP9pUPWyaXHlWXv1X0yfZ2s=; b=uvu5l//RPxhef9PQs+UjWbXNdZQzY19nNseu0aZ1KT23wRxsHaAc3KDfX1mutQydUd tJ4zNh8pmKB+6EHsI9TBALTaSZqIlJP6YAeNIe8Le0mMSWEFfj1YlopMLItlq7HzNvHf UsODHK9u+f57Mk4o/DWdH5veXEC4QdCh7ev4I=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=OSPMF0k5BFLYPlV4Lm2D2/eq8zVTnQJJNsTRFYLa5BksHecrCZ2KtS42d/Yp+/4zQD ejc2Nhg3iix4hER711bFtGwgSncM3FtNhruPj+1MLt59GYwwFcaO4LZvJqMNZXe6knCZ jrmJYsp0YI3FUhFJlDUQUE7Wstyni+Wtqn0c4=
Hi guys,
I have a service that, upon restart, has changed the port that it listens
to. I've been monitoring it like this:
--- cut here ---
PORT "LOCAL=%(0:50051)$" STATE=LISTEN min=1 col=red
"TEXT=bgtTagger_r2/listen"
--- and here ---
Is there any way that I could still monitor this program given the fact that
it changes the port on next restart? Basically, besides my 'PROC
bgtTagger_r2 1' I'd still like to check that it's also listening on a port
without knowing a priori which port that is. Is there a way to achieve this?
TIA,
--
kN