The display command is useful for obtaining data on a variety of processes.
You can use display commands to perform the following actions:
f server,display,servantsExample: The following command will display servants for the bbo6acr server:
f bbo6acr,display,servantsHere is a sample display:
F bbo6acr,DISPLAY,SERVANTS BBOO0185I SERVER BBO5SR4/BBOASR4A HAS 1 SERVANT PROCESS (ASID: 0038x) BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,SERVANTS
f server,display,trace
f bbo6acr,display,trace
F bbo6acr,DISPLAY,TRACE BBOO0224I TRACE INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00047 BBOO0197I LOCATION = SYSPRINT BUFFER BBOO0197I AGGREGATE TRACE LEVEL = 1 BBOO0197I EXCEPTION TRACING = RAS(0), Common Utilities(1), COMM(3), ORB(4), OTS(6), Shasta(7), z/OS® Wrappers(9), Daemon(A), Security(E), Externalization(F), JRAS(J), J2EE(L) BBOO0197I BASIC TRACING = BBOO0197I DETAILED TRACING = BBOO0197I TRACE SPECIFIC = NONE SPECIFIED BBOO0197I TRACE EXCLUDE SPECIFIC = NONE SPECIFIED BBOO0225I TRACE INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00047 COMPLETE BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,TRACE
f server,display,trace,java
f bbo6acr,display,trace,java
F bbo6acr,DISPLAY,TRACE,JAVA BBOO0196I TRACE INFORMATION FOR SERVER BBO5SR4/BBOASR4A BBOJ0050I CTL(STC00047):*=all=disabled BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,TRACE,JAVA
f server,display,trace,java.srs
f bbo6acr,display,trace,java,srs
F bbo6acr,DISPLAY,TRACE,JAVA,SRS BBOO0196I TRACE INFORMATION FOR SERVER BBO5SR4/BBOASR4A BBOJ0050I SR(STC00048):*=all=disabled BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,TRACE,JAVA,SRS
f server,display,trace,java.all
f bbo6acr,display,trace,java,all
F bbo6acr,DISPLAY,TRACE,JAVA,ALL BBOO0196I TRACE INFORMATION FOR SERVER BBO5SR4/BBOASR4A BBOJ0050I CTL(STC00047):*=all=disabled BBOJ0050I SR(STC00048):*=all=disabled BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,TRACE,JAVA,ALL
Displaying active replies from the MVS console allows you to observe system activity and determine if the system requires an operator response.
d r,r
Use the display command to display active address spaces.
d a,l | Displays a list of all address spaces. |
d a,a | Displays a list of all active address spaces. |
d a,address-space-name | Displays only the address space in which you
are interested. This command is recommended over the first two because
it does not yield such a lengthy list on a production system. Of course,
you need to know the name of the address space for which you are looking. Example: d a,bboasr1 |
d a,bbo* | Displays a list of all active address spaces that start with BBO. |
You can to display the status of addresses registered with automatic restart management.
Complete the following steps to use automatic restart management (ARM) to display the status of ARM registered address spaces (including the address spaces of server instances) in the WebSphere® Application Server for z/OS environment:
Complete the following steps to display units of work (transactions) for Information Management System (IMS):
message_id/dis tran trans-name
/dis prog program-name
/display active region
For more information about IMS commands, see the IMS/ESA® Summary of Operator Commands manual on the IBM® Publications Center website.
f server,display,jvmheap
f bbo6acr,display,jvmheap
F bbo6acr,DISPLAY,JVMHEAP BBOO0201I JVM HEAP INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00047 BBOO0202I (STC00047) HEAP(MIDDLEWARE), COUNT(00000000), FREE STORAGE( 396FA70), TOTAL STORAGE( 7FFFA00) BBOO0204I JVM HEAP INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00047 COMPLETE BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,JVMHEAP
f server,display,jvmheap,srs
f bbo6acr,display,jvmheap,srs
F bbo6acr,DISPLAY,JVMHEAP,SRS +BBOO0201I JVM HEAP INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00048 +BBOO0202I (STC00048) HEAP(MIDDLEWARE), COUNT(00000001), FREE STORAGE( 25F4030), TOTAL STORAGE( 7FFFA00) +BBOO0204I JVM HEAP INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00048 COMPLETE BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,JVMHEAP,SRS
f server,display,jvmheap,all
f bbo6acr,display,jvmheap,all
F bbo6acr,DISPLAY,JVMHEAP,ALL BBOO0201I JVM HEAP INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00047 BBOO0202I (STC00047) HEAP(MIDDLEWARE), COUNT(00000000), FREE STORAGE( 396FA70), TOTAL STORAGE( 7FFFA00) BBOO0204I JVM HEAP INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00047 COMPLETE +BBOO0201I JVM HEAP INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00048 +BBOO0202I (STC00048) HEAP(MIDDLEWARE), COUNT(00000001), FREE STORAGE( 25F4030), TOTAL STORAGE( 7FFFA00) +BBOO0204I JVM HEAP INFORMATION FOR SERVER BBO5SR4/BBOASR4A/STC00048 COMPLETE BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,JVMHEAP,ALL
This example shows how to use scripting to display the status of a server.
f server,display
f bbo6acr,display
F bbo6acr,DISPLAY BBOO0173I SERVER BBO5SR4/BBOASR4A ACTIVE ON SY1 AT LEVEL wd5xo03. BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY
The SMF display command displays the status of SMF 120-9 and SMF 120-10 record creation and whether the optional CPU usage, security information, or timestamp information for the record is collected.
f server,display,smf
f bbo6acr,display,smf
BBOO0344If SMF 120-9: ON, CPU USAGE: OFF, TIMESTAMPS: OFF, SECURITY INFO: OFF BBOO0345I SMF 120-9: TIME OF LAST WRITE: 2008/02/20 13:38:44.003116, SUCCESSFUL WRITES: 2, FAILED WRITES: 0 BBOO0346I SMF 120-9: LAST FAILED WRITE TIME: NEVER, RC: 0 BBOO0389I SMF 120-10: FORCED_ON BBOO0387I SMF 120-10: TIME OF LAST WRITE: 2011/06/06 19:29:03.416432, SUCCESSFUL WRITES: 14, FAILED WRITES: 0BBOO0388I BBOO0388I SMF 120-10: LAST FAILED WRITE TIME: NEVER, RC: 0BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,SMF BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,SMF
Each of the SubType 9, CPU Usage, Timestamps, or Security Info sections of the message can have a value of ON, OFF, FORCED_ON, or FORCED_OFF. The ON or OFF values for a section indicate the setting of the corresponding server-wide custom property. If any values are FORCED_ON or FORCED_OFF, then an SMF modify command was issued. The SMF modify command overrides the SMF server-wide custom property and the SMF request-level RAS attribute.
You can display the status of each servant thread, on which there is currently a request dispatched, for all of the servants in a controller, or you can display this thread status for a particular servant within the controller. You can also display information about the dispatch thread for a particular request, the dispatch threads that have been handling the same request for a specific amount of time, or the dispatch threads for requests that have timed out.
f server,display,threads,<parameters>
server is the short name for the server to which the this command is directed. This argument is required.
If you do not specify any parameters, all is used.
You can specify the following options on the DISPLAY,THREADS,ALL command. If no option is specified, summary is used.
Here is a sample display of the messages that are issued if you enter this command:
f BBOS001,display,threads,all
The following messages display in response to this command. In this output, the requests that have a Y in the JW column were in a Java wait state when the command was issued. Similarly, the requests that have a Y in the TO column were considered unresponsive.
BBOJ0111I: REQUEST ASID JW TO RE DISPATCH TIME BBOJ0112I: ffffb41d 0X0176 N N N 2008/03/24 20:03:28.212400 BBOJ0112I: ffffb420 0X0176 Y Y Y 2008/03/24 19:59:16.910228 BBOJ0112I: ffffb421 0X0176 Y Y Y 2008/03/24 19:59:14.982621 BBOJ0112I: ffffb422 0X0176 Y Y Y 2008/03/24 19:59:12.805119 BBOJ0112I: ffffb423 0X0176 Y Y Y 2008/03/24 19:59:08.936107 BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,THREADS,ALL
f BBOS001,display,threads,details
BBOJ0106I: REQUEST fffff2a9 ASID 0X0064 TCB 0X008D0438 BBOJ0119I: CONTROLLER RECEIVED REQUEST AT 2008/06/05 14:24:51.508941 BBOJ0120I: CONTROLLER QUEUED REQUEST TO WLM AT 2008/06/05 14:24:51.509147 BBOJ0107I: SERVANT DISPATCHED REQUEST AT 2008/06/05 14:24:51.509242 BBOJ0108I: JVM THD IS NOT HUNG: ITI INACTIVE BBOJ0110I: DETAILS FOR GIOP Outbound: Target Operation =sayHelloTwo BBOJ0110I: DETAILS FOR JVM INTERRUPTIBLE THREAD: Monitor ACTIVE BBOJ0106I: REQUEST fffff2a3 ASID 0X0064 TCB 0X008CB2D8 BBOJ0119I: CONTROLLER RECEIVED REQUEST AT 2008/06/05 14:24:54.981645 BBOJ0120I: CONTROLLER QUEUED REQUEST TO WLM AT 2008/06/05 14:24:54.982324 BBOJ0107I: SERVANT DISPATCHED REQUEST AT 2008/06/05 14:24:55.522788 BBOJ0108I: JVM THD IS NOT HUNG: ITI INACTIVE BBOJ0110I: DETAILS FOR JVM INTERRUPTIBLE THREAD: Monitor ACTIVE BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,THREADS,DETAILS
You can specify the following options for the DISPLAY,THREADS,TIMEDOUT command. If no option is specified, summary is used.
f BBOS001,display,threads,timedout,summary
You can specify the following options on the DISPLAY,THREADS,REQUEST command. If no option is specified, details is used.
f BBOS001,display,threads,request=FFFFF2A9
BBOJ0106I: REQUEST fffff2a9 ASID 0X0064 TCB 0X008D0438 BBOJ0119I: CONTROLLER RECEIVED REQUEST AT 2008/03/27 16:51:36.981645 BBOJ0120I: CONTROLLER QUEUED REQUEST TO WLM AT 2008/03/27 16:51:36.982324 BBOJ0107I: SERVANT DISPATCHED REQUEST AT 2008/03/27 16:51:36.987541 BBOJ0108I: JVM THD IS NOT HUNG: ITI INACTIVE BBOJ0110I: DETAILS FOR GIOP Outbound: Target Operation = sayHelloTwo BBOJ0110I: DETAILS FOR JVM INTERRUPTIBLE THREAD: Monitor ACTIVE BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,THREADS,REQUEST=FFFFF2A9
You can specify the following options on the DISPLAY,THREADS,ASID command. If no option is specified, summary is used.
f BBOS001,display,threads,ASID=0038x
You can specify the following options on the DISPLAY,THREADS,AGE command. If no option is specified, summary is used.
f BBOS001,display,threads,age=30
f server,display,servers
f bbo6acr,display,servers
F bbo6acr,DISPLAY,SERVERS BBOO0182I SERVER ASID SYSTEM LEVEL BBOO0183I CBDAEMON/DAEMON01 31x SY1 wd5xo03 BBOO0183I BBO5SR4 /BBOASR4A 1F6x SY1 wd5xo03 BBOO0188I END OF OUTPUT FOR COMMAND DISPLAY,SERVERS
f server,display,javaoom
One of the following values displays: