Hi,

On 5 Mar 2004 at 10:29, A Kincer wrote:

> Under WRKACTJOB there is a CPU percentage that I would like to have
> displayed on all screens / menus so users will quit bugging me whenever they
> run these jobs that keep it at 100%  from 5-10 minutes at a time and then
> call me wondering why the 400 is "so slow."

you already got some tips on how-to. But users will hit update for such a 
function quite 
often - so don't do the polling directly.

AFAIK, frequent update and usage of wrkactjob also eats up performance - this 
could be 
different for the API's.

I'd do it the following way:

Have a job running constantly that polls the CPU percentage every 5 minutes and 
writes it into
a data area or whatever.
Then your menu could use that dataarea to display the percentage.

Regards,

Oliver

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 by midrange.com 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.