Ask the Expert

Measuring the CPU utilization of a C program

I need to measure the CPU utilization of a C program running in a CICS address space. I know that I cannot use clock(). What can I use instead? We do not have Omegamon or Strobe. Thanks.

Requires Free Membership to View

The easiest way to do this measurement will be to turn on CICS' monitoring and stats functions and then do the analysis of the SMF records offline.

If you are just getting into this type of performance monitoring: you might care to look at the recent CICS tools announcement wherein is a new utility called the Performance Analyzer which will probably do what you need with a fairly minimal manual effort.

Robert Harris
Inventor
CICS Technical Strategist -- CICS expert at Search390.com

Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our .VO7aaqqaAFk.0@/search390>discussion forums.


This was first published in May 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: