[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1934.0. "Inquire # connections ??" by GSRC::WEST (Variables don't, Constants aren't) Sun Dec 17 1989 22:55

  Is it possible to inquire the server as to how many connections it
currently has ??

  I thought it would be handy to have an utility program thay would output
something like:

    x Connections
    y Free

  And if possible, further qualify the connections as to which transports
they are using, something like:

    x Connections   DECnet - a  Local - b  TCP/IP - c  Other - d

  Thanx for any help.

					-=> Jim <=-

T.RTitleUserPersonal
Name
DateLines
1934.1Good suggestionSTAR::VATNEPeter Vatne, VMS DevelopmentMon Dec 18 1989 10:2915
There is no utility to do what you requested, but I think you have
a good idea.  I will put it on the wish list.

The only way you can do what you ask today is to use a combination
of ANALYZE/SYSTEM and some SHOW commands in NCP and UCX$UCP.  With
ANALYZE/SYSTEM, set your process index to the server process, then
do a SHOW PROCESS/CHANNELS.  That should at least give you a clue.
NET devices are DECnet, and BG devices are TCP/IP.  Local connections
are harder, although one can just look at all the other processes on
the system and see which ones have invoked DECW$TRANSPORT_LOCAL.EXE.

Using NCP, you can do a SHOW KNOWN LINKS.  With UCX$UCP, you can do
a SHOW DEVICE_SOCKET.  From all the information you gather, you should
be able to construct a picture as to what is going on, although it is
definitely time-consuming!