Why does PTF RO17824 provide more diagnostics when high CPU usage occurs?

Document ID : KB000050743
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

PTF RO17824 introduced a new method for measuring the CPU usage in Vantage when a high CPU situation occurs.

Solution:

With PTF RO17824 applied, a new DIAG,CPU command was introduced to measure the CPU usage:

F SAMS,DIAG,CPU

This starts scanning TCBs for CPU time used, and for each TCB it identifys which programs are called, the executing instruction and the address to it.
Only TCB's that are looping or TCBs consuming excess CPU will be monitored.
The Information will be collected and put out to the MSGExxxx sysout file, which can be sent to CA Technical Support for analysis.
This command could be issued if it is suspected that CA Vantage SRM is using excessive CPU and would in most cases be issued as requested by CA Technical Support.
The message "Check CPU usage for all TCBs" is issued on the console when the scan starts, and message "Check CPU usage done" is issued when the scan ends.