you may want to capture what is listening on TCP ports


select * from qsys2.netstat_info where tcp_state = 'LISTEN' ;

might be stuff in qsys2.netstat_job_info as well.

happy hunting

Bryan


Dan Bale wrote on 12/2/2024 4:22 PM:
Currently, we manually capture various before IPL and after IPL snapshots of active job queues, active subsystems, etc. I've been tasked with automating this capture so that we can quickly compare the before and after to ensure we're in the same state after IPL as we were before IPL.

iNav's "TCP/IP Servers" does not appear to have any SQL or other programmatical equivalent. We manually export this to a spreadsheet to capture the Name and Status.

IBM threw out a few suggestions. The first was to query QUSRSYS.QATOCSTART. I used:
select * from QUSRSYS.QATOCSTART
where ServerType = 'T'
order by ServerType, Server;

While this appears to be close, this query returns one more row than does iNav. Also, I am unable to match up all the results between the two data sources. Some are easy, like QATOCSTART's *BOOTP and iNav's BOOTP. But QATOCSTART will report *HOD (which I presume is Host On Demand) and *NSLD (???), while iNav reports "BootP DHCP Relay Agent" and "RADIUS NAS".

Does anyone have an SQL or other programmatical equivalent to iNav's "TCP/IP Servers"?

- Dan
*** CONFIDENTIALITY NOTICE: The information contained in this communication may be confidential, and is intended only for the use of the recipients named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. ***


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.