This topic applies only on the z/OS operating system.

Example: Displaying sessions

This example shows how to display sessions using scripting.

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,sessions
or
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: In addition, you can also specify to display the results or list the results by leaving off the list modifer or including the list modifier, respectively.
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



Related tasks
Using MVS console commands
Related reference
Display command
Reference topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 10:43:27 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v602web&product=was-nd-mp&topic=rxml_mvssessions
File name: rxml_mvssessions.html