On Thu, 17 January 2002, "Smith, Nelson" wrote:

> Is there an API or some other way to retrieve the current CPU % in use (like
> is shown on the WrkActJob screen) from a program?

One possibility is the Retrieve System Status (QWCRSSTS) API, one of the Work 
Management APIs. Use format SSTS0200 to retrieve "% processing unit used". Note 
that the value varies depending on elapsed time, etc., rather than being a 
concrete value.

Tom Liotta

Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788
Fax  253-872-7904

The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.