Wouldn't you rather fix the job that is behaving badly?  Run it in
batch?  Raise it's priority so it doesn't affect your interactive users?

Is the job doing OPNQRYF's?  You can build logicals quite easily to
speed those up.  

To answer your question though, you'd have to have a job running that
was using API's to get the CPU%, or doing a WRKACTJOB or WRKSYSSTS to
*Print, and then process that printer file to grab the CPU.  I would
update a file or a data area with the CPU, then your programs would all
have to change to show that information.

If you use the same menu program all across your apps, you could just
change that one to show the info.

Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Kincer
Sent: Monday, August 11, 2003 9:17 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Screen include for CPU percentage

In the upper left-hand corner of all screens I would like to insert the
current percentage so the users can see for themselves what's going on.
Instead of CPU I would relabel it something like "Usage:" or "Load:")

If at all possible I would like to put descriptions instead of the
percentage number (Light/Heavy/Maximum or something like that) in colors
that correspond to the level, but really the percentage is great if I
can
get even that.



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-2024 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.