SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-HELP Mailing List Archives

Return to [ 21 | April | 2004 ]

<< Previous Message << >> Next Message >>


Date: Wed, 21 Apr 2004 09:21:56 PDT7
From: "Steven Levine" <steve53@earthlink.net >
Reply-To: scoug-help@scoug.com
To: scoug-help@scoug.com
Subject: SCOUG-Help: cpu load monitor ?

=====================================================
If you are responding to someone asking for help who
may not be a member of this list, be sure to use the
REPLY TO ALL feature of your email program.
=====================================================

In <408661E5.727D@peterskye.com>, on 04/21/04
at 04:58 AM, Peter Skye said:

> TOP is NOT a load monitor - the statistics displayed are
> not real time, they are the statistics for the previous
> monitoring period (default 2 seconds).

> The load is calculated by comparing the amount of CPU
> that a process has used in the current monitoring period,
> to the amount the same process used in the last monitoring
> period.

Obviously, I have read this. The wording is a bit ambiguous. Note the
use of the word load in both paragraphs. I read to this mean that TOP is
not an absolute load monitor rather that it reports relative CPU
utilization which is why the percentages always add up to 100%.

FWIW, the data returned by the DosQProcStatus call that Paul uses could
but used to report per process CPU load, with some caveats. See

<http://hobbes.nmsu.edu/pub/os2/dev/info/proc.zip>

Also, recent kernels have corrected some defects in DosQProcStatus. I
forget the details, but they are in the testcase kernel readmes.

TOP does report CPU loading indirectly in the Total CPU column but it
would take post processing of something like the PLIST output to develop
numeric load values.

HTH,

Steven

--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4
www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST)
----------------------------------------------------------------------

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".

For problems, contact the list owner at
"rollin@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 21 | April | 2004 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.