2 Mar
2010
2 Mar
'10
6:42 p.m.
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