Stack trace of the processes reported by the Sybase System Processes Test
For performing additional diagnostics on the processes reported by the Sybase System Processes test, click on the
icon in the Detailed Diagnosis page of the processes reported by this test.
For example, let us now have a look at the Detailed Diagnosis page of the Blocked processes measure reported by this test.
Upon clicking the
icon in the Detailed Diagnosis page, the Sys Processes pop up window will appear, listing the Process ID of each blocked process. By default, the Process ID will be sorted in the ascending order of the ID itself; to change the sort order, pick a different option from the Sort By list. The Process IDs will then be listed in the chosen sort order. Selecting a Process ID from the list will reveal the following in the right panel of the Sys Processes pop up window: the current status of the chosen process, the database on which the process is executing, the duration for which it was blocked, and the CPU, I/O, and memory resources that were consumed by the process. In addition, the LastCommand executed by the process will also be displayed.
Moreover, the Spid of the process, as displayed in this pop up window, will be accompanied by a link to the ID of the process that is blocking it. Clicking on this link will lead you to the Blocking process details pop up window which will reveal the complete details of the blocked process, including the command executed by that process.
By analyzing the query of the blocking process, you can determine whether deficiencies in query formulation caused this process to block the other process; if so, you can fine-tune the query to remove the block.