Display of REST service locations and threads
You can issue the -DISPLAY THREAD command to identify and display threads that actively execute Db2 REST services. The correlation ID for a thread that processes a service is set to “DB2_REST” while the application name is the name of the service that is invoked.
The following is a sample output of the -DISPLAY THREAD command which identifies "DB2A" as the
active thread and "simpleSelect1
" as the application.
00- 17.39.04 -DB2ADIS THREAD(*) DET
- 17.39.04 STC00179 DSNV401I -DB2A DISPLAY THREAD REPORT FOLLOWS -
- 17.39.04 STC00179 DSNV402I -DB2A ACTIVE THREADS -
- NAME ST A REQ ID AUTHID PLAN ASID TOKEN
- DB2A RA * 0 028.DBAA 02 SYSOPR 0071 7
- V437-WORKSTATION=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/2
- 0100101 Firefox/45.0
- USERID=user001
- APPLICATION NAME=simpleSelect1
- V441-ACCOUNTING=POST SYSIBMSERVICE.simpleSelect1
- V442-CRTKN=::FFFF:host.port.D149FF032587
- V445-G934E317.FC7D.D149FF032587=7 ACCESSING DATA FOR
- ( 1)::FFFF:host
- V447--INDEX SESSID A ST TIME
- V448--( 1) port R2 1624617373942
- DISCONN DA * 0 NONE NONE DISTSERV 0071 9
- V471-USIBMSY.SYEC1DB2.D149FF2F06EA=9
- DISPLAY ACTIVE REPORT COMPLETE
- 17.39.04 STC00179 DSN9022I -DB2A DSNVDT '-DIS THREAD' NORMAL COMPLETION