why wouldnt ibm have added some cmd's to the os instead of you having to write something, of which i'm grateful of.
frank

Sent from my iPhone

On Jul 28, 2015, at 5:27 PM, Bryan Dietz <bdietz400@xxxxxxxxx> wrote:

I wrote a NSTAT command that will output to a file. no job info but does other netstat is stuff included.
http://bryandietz.us/nstat.html


Carsten has a couple of nice utilities. This one does show job info:
http://iprodeveloper.com/rpg-programming/apis-example-tcpip-management-apis

this one is also good:
http://iprodeveloper.com/rpg-programming/apis-example-tcpip-management-apis-part-2


Bryan


Steinmetz, Paul wrote on 7/28/2015 2:47 PM:
I need to document our port usage for 3rd party products for both production and R&D LPARs
On our R&D LPAR, we have up to 7 environments, each environment could have its own set of ports, depending on the 3rd party product.

I ran a NETSTAT, F13 sort by local port, F6=Print list, for both LPARs.
Also using NETSTAT interactively, F13 sort by local port,

I then created an Excel spreadsheet, manually populated.

1) One problem is that sometimes I need to see the job, which is only obtained by drilling down, 8=Display jobs
Can't see this on the F6=Print list.

2) Another problem is that some processes do not always appear, port is closed after being used.

Is there another or better way to document port usage?

Small sample below.

Production MIS D1 Special Project IT TRP1 Upgrade
API Gateway 8601-8605 8601-8605 8401-8405 8901-8905 8301-8305 8501-8505 8701-8705 8801-8805
API Gateway UtilityPorts 8606-8649 8606-8649 8406-8449 8906-8949 8306-8349 8506-8549 8706-8749 8806-8849

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].