activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
Subject Re: Determine what ports ActiveMQ is listening on
Date Thu, 18 Oct 2007 14:30:39 GMT
On 10/18/07, jmorri <jeffrey.s.morrison@boeing.com> wrote:
>
>
> j0llyr0g3r wrote:
> >
> > Hi,
> >
> > if activemq is the only java-process running, you could execute something
> > like:
> >
> >  netstat -tulpen | grep -i java
> >
> > with the processbuilder from within java and then parse the corresponding
> > output (i assume you are using Linux) for the listed ports.
> >
>
> Thanks for the suggestion.  I'm using Solaris, do you know a comparable set
> of flags to -tulpen that would work in Solaris (I'm not familiar with the
> command outside of netstat -an)?

The BSD netstat -an options should suit the situation just fine. Below
is a breakdown of the suggested options on LInux netstat:

-t: tcp
-u: udp
-l: listening
-p: pid
-e: additional info
-n: numeric ports

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/

Mime
View raw message