David Alcock wrote a ISPF panel system that did all the netstat commands and captured the output into ISPF browse displays. Works very nice.
Mike Wickman -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Chris Mason Sent: Tuesday, August 04, 2009 6:27 PM To: [email protected] Subject: Re: [IBM-MAIN] TCP/IP ports in use Joni There is a list more specialised in matters relating to the IP component of z/OS Communications Server. This is the IBMTCP-L list. You can subscribe as follows: For IBMTCP-L subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBMTCP-L One way to discover which ports are in use is to check the output of the NETSTAT ALLCONN command. This, of course, shows only a snapshot but might be sufficient for you if it corresponds to a time when all your "servers" are active. You could probably construct a REXX clist which parses the output and produces the report you really want. Note that you should consider how you should report those port numbers associated with an all zeros IP address, INADDR_ANY, and those qualified by a specific IP address. If you are really keen, you could invest in setting up SNMP, manager (client) and agent (server), in order to extract the same information from the MIB you will find defined in Appendix B of the z/OS Communications Server IP System Administrator's Commands manual. Check the tables in the IbmMvsTcp and IbmMvsUdp parts of the MIB. I think you'll find traffic counts - and lots more! - there. Chris Mason On Tue, 4 Aug 2009 14:30:07 -0500, Joni Lafever-Brown <[email protected]> wrote: >Hello all, >I want to monitor the TCP/IP ports that are in use on our system that are not >defined in SYS1.TCPPARMS under the PORT or PORTRANGE parameters. > >I looked at SMF 119 Type 7 records, but the manual says "The Port Statistics >record, as an interval record, periodically records statistics on ports that have >been configured with the PORT statement in the TCP/IP PROFILE. Note that >this excludes all ports defined by PORTRANGE, or for which the RESERVED flag >has been set. " > >I know what ports we explicitly reserved in the profile and it would be nice to >have stats on how much traffic come over those ports. But what I really want >to document is which ports are being used that have not been reserved. > >Any suggestions? > >Thanks very much. > >Joni ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

