HP3000-L Archives

March 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 26 Mar 1999 21:28:33 -0500
Content-Type:
text/plain
Parts/Attachments:
nscontrol (92 lines)
Hello Larry, Friends @ 3000-l,

Re: nscontrol status for telnet connections

----------------------------------------------------------Larry Simonsen says--
Is there a method for identifying the connections to the server which are using
the telnet protocol. The ns/VT sessions can be located with the nscontrol status
command.  What is the equivalent command for telnet sessions?
  Larry Simonsen
----------------------------------------------------------Larry Simonsen says--

The showconn tool does the job for me:


:showjob
..
#S126   EXEC         4  4        SAT  9:17P  TELNETIN,MANAGER.SYS
...


:showvar hppath
HPPATH = !HPGROUP,PUB,PUB.SYS,ARPA.SYS

files:
SC.NSRV0000.TELESUP
SHOWCONN.NSRV0000.TELESUP

:copy sc.nsrv0000.telesup,sc.arpa.sys
:copy showconn.nsrv0000.telesup,showconn.arpa.sys

:showconn ;system=on

JOBNUM  INTRO DATE AND TIME    LDEV   USERNAME
 REMOTE ADDRESS  RPORT  LPORT  FLAGS   PIN(PROGRAM)
system process
                        sockrg spl-nu   94(SOCKREG.NET.SYS)
system process
                        vt     stl-nt   60(DSDAD.NET.SYS)
                        ptop   stl-nt   60(DSDAD.NET.SYS)
                        nsstat stl-nt   60(DSDAD.NET.SYS)
                        hcs    stl-nt   60(DSDAD.NET.SYS)
                        rfa    stl-nt   60(DSDAD.NET.SYS)
                        hdspns stl-nt   60(DSDAD.NET.SYS)
                         5760  stl-nt   60(DSDAD.NET.SYS)
                        pds    stl-nt   60(DSDAD.NET.SYS)
                        vta    stl-nt   60(DSDAD.NET.SYS)
                        nft    stl-nt   60(DSDAD.NET.SYS)
                        loopbk stl-nt   60(DSDAD.NET.SYS)
                        hpip   stl-nt   60(DSDAD.NET.SYS)
                        iasql  stl-nt   60(DSDAD.NET.SYS)
                        vtr    stl-nt   60(DSDAD.NET.SYS)
                        rpm    stl-nt   60(DSDAD.NET.SYS)
                        pdss   stl-nt   60(DSDAD.NET.SYS)
#S126   SAT MAR 25 2000 21:17     4   TELNETIN,MANAGER.SYS,WORK <<< here
   15.114.22.162  1564  telnet jtcibd   79(JSMAIN.PUB.SYS)      <<< here
#J88    SAT MAR 25 2000 19:41    10   JSYSLOGD,MGR.SYSLOG,PUB
    15.44.48.184 syslog syslog aud-bb   71(SYSLOGD.PUB.SYSLOG)
#J87    SAT MAR 25 2000 19:41    10   JINETD,MANAGER.SYS,WORK
                        ftpcmd atl-bt   81(INETD.NET.SYS)
                        time   aud-bb   81(INETD.NET.SYS)
                        discrd atl-bt   81(INETD.NET.SYS)
                        discrd aud-bb   81(INETD.NET.SYS)
                        chargn atl-bt   81(INETD.NET.SYS)
                        echo   atl-bt   81(INETD.NET.SYS)
                        chargn aud-bb   81(INETD.NET.SYS)
                        echo   aud-bb   81(INETD.NET.SYS)
                        telnet atl-bt   81(INETD.NET.SYS)
                        daytim atl-bt   81(INETD.NET.SYS)
                 bootpc bootps aud-bb   81(INETD.NET.SYS)
                        daytim aud-bb   81(INETD.NET.SYS)
                        tftp   aud-bb   81(INETD.NET.SYS)
                        time   atl-bt   81(INETD.NET.SYS)
                 bootpc bootps uud-bb   55(BOOTPD.NET.SYS)
detached process
    15.44.48.175  1026  snmp   dud-nb   77(SNMP.NET.SYS)
                        snmptr dud-nb   77(SNMP.NET.SYS)

Total processes checked:   63
Processes with sockets :    7
Total sockets open     :   36

I hope this helps.  Thanks again to our friend Eero Laurla for this tool.

P.S. Print "showconn.nsrv0000.telesup" for other command options.

Regards,

James Hofmeister
Hewlett Packard
Worldwide Technology Network Expert Center
P.S. My Ideals are my own, not necessarily my employers.

ATOM RSS1 RSS2