To display sessions, use the following command:
f server, display,sessions
Example 1: Since "listeners" is the default, either of the following command will display session listeners for the bbo5acr server:
f bbo5acr,display,sessionsor
f bbo5acr,display,sessions,listeners
Here is a sample display:
F BBO5ACR,DISPLAY,SESSIONS,LISTENERS BBOO0189I PROTOCOLS AND LISTENING PORTS FOR SERVER BBO5SR4/BBOASR4A BBOO0190I TCPIIOP 2809 BBOO0190I SSLIIOP 6000 BBOO0190I HTTP 9088 BBOO0190I HTTPS 443 BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,SESSIONS,LISTENERS
To display server sessions counts, use the following command:
f server, display,sessions,server
Example 2: The following command will display the server session counts for all protocols used by the bbo5acr server:
f bbo5acr,display,sessions,server
Here is a sample display:
F BBO5ACR,DISPLAY,SESSIONS,SERVER BBOO0191I SERVER SESSION COUNTS FOR PROTOCOLS USED BY SERVER BBO5SR4/BBOASR4A BBOO0192I TCPIIOP 2 BBOO0192I LOCALIIOP 0 BBOO0192I SSLIIOP 0 BBOO0192I HTTP 0 BBOO0192I HTTPS 0 BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,SESSIONS,SERVER
You can further refine the modify command to display, or list, the number of sessions used by a specific protocol. The available options are:
Example 1: The following command will display the number of sessions using the TCP/IP IIOP protocol on the bbo5acr server:
f bbo5acr,display,sessions,server,tcpiiop
Here is a sample display:
F BBO5ACR,DISPLAY,SESSIONS,SERVER,TCPIIOP BBOO0193I SERVER BBO5SR4/BBOASR4A HAS 2 TCPIIOP SERVER SESSIONS BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,SESSIONS,SERVER,TCPIIOP