Using TOP with NonStop TCP/IP

📅 Jan 23, 2023
Matt Riesz Matt Riesz
TOP TCP/IP Administration
Using TOP with NonStop TCP/IP

TOP is a great GUI for just about everything you need to do on your NonStop system. One of the most helpful features is the ability to easily look at data communications information, especially as it pertains to CLIM IP, or "CIP".

Let's suppose that you want to see who is using TCP/IP on your NonStop system, and what programs are listening for incoming connections on a particular IP address, and which IP ports they're using. Seems simple, right? But even if you do this on a frequent basis and can recall all of the SCF commands involved, it can be a tedious and time-consuming task:

It is Easy Using TOP

Sign on to TOP and select your system. The system's components appear in a familiar, Windows Explorer-style interface.

All Nodes TOP

Navigate to "Comms", "TCP/IP", "IP CIP"

TOP now shows the available IP CLIMs. Select one and click on its "Interfaces". You now see the CLIM's interface information, including which providers are using them and which IP addresses are being served:

TICX COMMS

Now click on "Providers". TOP shows information on all the providers:

TICX COMMS Providers

Next, right-click on a provider and select "Sockets" from the pull-down menu. TOP provides information for all of the current active sockets for that provider:

Socket Opens for IP

Sort it however you want by clicking on a column heading. For example, by Foreign IP Address, to see who has an active session:

Foreign IP Address

Total time to do this with TOP: about 1 minute, and you don't need to know any command syntax. Information from the TOP display can also be easily copied and pasted into your favorite spreadsheet. It's EASY!

Doing it the Long Way Using SCF

Now, the tedious way to do the same thing using SCF:

TACL SCF

Note that the command returns both IP CLIMs and Storage CLIMs. So, pick an IP CLIM and look at the detailed status. There's a LOT of information that needs to be parsed and understood:

Status CLIM NCLIM000

Now you have the information needed to find out which IP addresses are associated with which interface on that CLIM. But who is using those addresses?

Next, find all of the CIPSAM processes – These are called "Providers" in CIP, and are the processes that your program accesses when it wants a connection. Each provider is associated with one or more CLIMs, and there may be more than one provider for a given CLIM:

CIP Status PROVIDER

Well that wasn't too hard. Next, find out which provider is associated with the IP address you're interested in:

CIP Detailed Status

You might need to look at all the providers to find the one you're looking for. But great, now we know which CLIM, interface and IP address is driven by this provider. Now, enter another command to find all of the listeners and established sessions through the provider for that interface:

ListOpens Provider

There may be a LOT of listeners and sessions, appearing in no particular order in the SCF output and, as you can see, it's not very easy to read. So next you copy the output from your screen (or log it to a file and copy that) into a spreadsheet, separate it into useful columns of information, and sort it to find what you're looking for.

That all will probably take you about 15 to 20 minutes if you know the commands by heart or maybe an hour or more if, like many, you have to read through the SCF manuals looking for them.

The Comparison

1 minute versus 15-20 minutes. Which way would you prefer?

You can use TOP to facilitate many other NonStop operations. Contact us to see all the ways it can help you.

← Back to Blog
Matt Riesz

Matt Riesz is a technical consultant at TIC Software. Matt's career spans the corporate transitions of what is now HPE NonStop. He started at Tandem in 1982 as a system engineer, and saw the company evolve from Tandem to Compaq, and finally to HP/HPE – from where he retired with the title of Master System Architect. Throughout the course of these changes, Matt's job was focused on pre-and post-sales technical support for software and systems.


TIC Software

TIC Software, a New York-based company specializing in software and services that integrate NonStop with the latest technologies, including Web Services, .NET and Java. Prior to founding TIC in 1983, Phil worked for Tandem Computer in technical support and software development.


comForte

TIC Software partners with comForte to offer a suite of innovative security, modernization, and connectivity solutions for NonStop systems users. comForte develops, markets, and supports proven and innovative modernization, middleware, connectivity, and security solutions for users of HP NonStop systems.