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

Re: How do I find out the list of active network objects?



Hi Reinhard,

Thanks ... that looks like it would be probably what I was looking for,
if only the file looked like that in Linux 2.3.39 ... I have:

Local                             Remote
 1.2/2189 0001:0001 0000:0000 2  1.5/0000 0000:0000 0000:0000 2  CI 
IMMED
 0.0/2188 0001:0001 0000:0000 2  0.0/0000 0000:0000 0000:0000 2 
OPENIMMED
 1.2/216E 0001:0002 0000:0000 2  1.2/216F 0000:0000 0000:0000 2  RUN
IMMED
 1.2/216C 0001:0002 0000:0000 2  1.2/216D 0000:0000 0000:0000 2  RUN
IMMED
 1.2/216A 0001:0002 0000:0000 2  1.2/216B 0000:0000 0000:0000 2  RUN
IMMED
 1.2/2168 0001:0002 0000:0000 2  1.2/2169 0000:0000 0000:0000 2  RUN
IMMED
 1.2/2166 0001:0002 0000:0000 2  1.2/2167 0000:0000 0000:0000 2  RUN
IMMED
 1.2/2164 0001:0002 0000:0000 2  1.2/2165 0000:0000 0000:0000 2  RUN
IMMED
.
.
.

I'm trying to find out if a process that creates a named network object
is correctly attached to the network and listening ... I *think* it
might be the second line of the display, as the first line is due to
another part of the same program (I recognise the destination address),
and the first two lines appeared when I started the program.

Anyone have a good way of mapping the above to which named objects are
listening ... ?

Regards,

Rob.


Reinhard Karcher wrote:
> 
> On Mon, 31 Jan 2000 Rob Davies wrote:
> > How do I find out the list of DECnet objects that currently have
> > processes
> > assigned to them ?
> >
> > (something like $ mc ncp show kn obj char)
> >
> > I want to check which of my programs are currently connected to the
> > network, and 'netstat -A' doesn't appear to support DECnet yet ....
> 
> I'm not quite familiar with ncp, but perhaps your are looking for
> something like this:
> kar:~ # cat /proc/net/decnet
> Executor Device  DefRoute
>      1.6   eth0     0.0
> 
> Remote  Source Remote Object Link    Data  Packets Link  Packets
> Node    Port   Port   Number State   Out     In    Out     In
> 
>    0.0  0000   0000          OPEN      1      0      1      0
>    0.0  0000   0000     X$X0 OPEN      1      0      1      0
>    1.3  2002   20FD     X$X0  RUN    245    303      5      1
>    1.3  2005   2100      eve  RUN      1      6      9      1
>    1.3  2006   2101     X$X0  RUN    284    265      1      1
> kar:~ #
> 
> Reinhard
>
-----------------------------------------------------------------------------
To unsubscribe from this list, send a mail to majordomo@dreamtime.org
containing the line "unsubscribe linux-decnet"
-----------------------------------------------------------------------------