Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

check CPU usage in z program

Former Member
0 Likes
2,282

HI ,

we are facing some problem in performance in our Z program and

the problem (which reported from the QA team with Mercury software ) is in the program CPU

consumption .

i want to check it with SAP tools , there is a SAP tool which i can use for this test

in SE30 I don't find any column of CPU usage .

Thanks and regards

James

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,484

If required check tool link:[SAPOSCOL|http://www.easymarketplace.de/saposcol.php#Command]

8 REPLIES 8
Read only

Former Member
0 Likes
1,484

use the statement GET RUNTIME, u can create a zprogram to get the runtime,

in this zprogram call ur other program using submit

Read only

Former Member
0 Likes
1,484

Check if tcode SM50 of any help!

Read only

Former Member
0 Likes
1,484

Hi,

You can check the CPU utilization of your program using transaction code STAD.

Thanks

Suman

Read only

0 Likes
1,484

HI ,

Thanks there is a way to do dive in for the program since the program call to lot of methods

and i want to know where is the weak point .

Regards

James

Read only

0 Likes
1,484

Hi James,

Detail data for the processes that cause the largest CPU load:

Process ID

Owner of the process

Command that started the process

Absolute and percentage CPU usage by the process

Resident process size in kilobytes

Priority of the process

https://cw.sdn.sap.com/cw/docs/DOC-11720

Manas M.

Edited by: Kumar Manas Mishra on Jan 25, 2010 11:52 AM

Read only

0 Likes
1,484

HI Kuma,

Thanks but i need a sap tool which can help me to analyze the program performance (CPU) .

Regards

James

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,485

If required check tool link:[SAPOSCOL|http://www.easymarketplace.de/saposcol.php#Command]

Read only

Former Member
0 Likes
1,484

go to se 30.

give your report name. execute it and evaluate it. It will give you a detailed log for the report. how much is the database usage, how much is the system usage and all.

system usage is the CPU usage.

Sumit