I do a similar thing but my polling interval is smaller and variable depending on system workload. I write the results to an IFS file that's #INCLUDEd by a Net.Data macro. My status indicator is thus a web page pop-up window that auto-refreshes every minute. Based on CPU% it shows low - medium - high in green - yellow - red but by design does not give the actual percentage busy. As our jobqs can back up from time to time it also gives overall jobq depth for all non-held jobqs. I'm considering enhancing it with other system indicators like disk busy percentage. -----Original Message----- From: ouuch@xxxxxxxxxxx [mailto:ouuch@xxxxxxxxxxx] Sent: Saturday, March 06, 2004 12:14 PM To: Midrange Systems Technical Discussion Subject: Re: CPU percentage <snip> 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 This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. The information contained in this communication may be confidential and may be subject to the attorney-client privilege.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.