You can utilize the Cloverleaf APIs (CLAPI) to obtain this information (which I have not done, so I don’t have a clue how to do it via CLAPI). I have utilized Tcl with the functions available in ncitlib to extract information from NetConfig for different things. Attached is a script to extract TCP/IP threads from all the sites NetConfig(s) and list them out (in port order). This might give you something to start with to create your own and format in a .csv format to import into Excel.
Note that we are on AIX.
(remove the .txt extension of the attachment)
Jim Cobane
Henry Ford Health System
This reply was modified 4 years, 10 months ago by James Cobane.
We’ve done something similar here. We’re using it for importing the thread info into a support database used by our Operations staff when monitoring our interfaces. It creates a .csv file that has a header row with the names of the fields we’re interested in. Might be more than what you’re looking for, so feel free to trim down. To use it, change the “set siteList” step to a space-delimited list of the sites that you want to run the script over(currently a couple from our environment; adt_hubi and adt_hubo). Also not that the script only supports protocol types of pdl*, tcpip*, file, http*, and fileset*. If you have other protocol types, you’ll need to add a section for them in the switch statement and pull the protocol-type specific items that you want.
We are on 6.2.4 on AIX, BTW, so you may need to edit the first line as well to reflect your environment.