Re: [Freedos-user] Again about CPU-loadmeter

2018-01-17 Thread Z. B.
On Tue, Jan 16, 2018 at 09:23:43PM -0600, Rugxulo wrote:

> Hi,
> 
> On Tue, Jan 16, 2018 at 5:35 PM, Z. B.  wrote:
> >
> > My question is: do we have any API offered by FDAPM to allow closer
> > examination of CPU load the way similar to the one described in the book?
> > I ponder whether it could be possible to create a script/utility, which
> > could show the details.
> 
> http://help.fdos.org/en/hhstndrd/base/fdapm.htm
> 
> "
> INFO  Show information about APM status. Displays things like
> battery fill percentage.
> 
> STATS Show information about APM status / APMDOS. Displays things
> like CPU busy time percentage, if resident FDAPM or POWER is
> loaded in memory.
> "
> 
> (Or did you mean something else?)

Thanks, this and something else too. I'll read the docs mentioned by Eric first.
-- 
regards,
Zbigniew

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Again about CPU-loadmeter

2018-01-16 Thread Rugxulo
Hi,

On Tue, Jan 16, 2018 at 5:35 PM, Z. B.  wrote:
>
> My question is: do we have any API offered by FDAPM to allow closer
> examination of CPU load the way similar to the one described in the book?
> I ponder whether it could be possible to create a script/utility, which
> could show the details.

http://help.fdos.org/en/hhstndrd/base/fdapm.htm

"
INFO  Show information about APM status. Displays things like
battery fill percentage.

STATS Show information about APM status / APMDOS. Displays things
like CPU busy time percentage, if resident FDAPM or POWER is
loaded in memory.
"

(Or did you mean something else?)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Again about CPU-loadmeter

2018-01-16 Thread Jim Hall
On Tue, Jan 16, 2018 at 5:35 PM, Z. B.  wrote:
> I asked about this "a while" ago, now being back to that question.
>
> Have a look at pages from "Using MS-DOS 6.22" by Jim Cooper, describing
> functionality of POWER.EXE utility - I mean pages from 852 to 857 (it's
> available e.g. in "Google Books" and various places).
>
> It's splitted into two parts: a device driver, and actual utility.
>
> My question is: do we have any API offered by FDAPM to allow closer
> examination of CPU load the way similar to the one described in the book?
> I ponder whether it could be possible to create a script/utility, which
> could show the details.


I don't know, but Eric can answer.

Also: The code for FDAPM is at http://www.auersoft.eu/soft/ so it's
possible to look at the code yourself to examine if it already has
this API.

You can find the source code by visiting the FreeDOS website
(www.freedos.org) and clicking "What's included" (which links to the
software list). At the software list, click "Base" then scroll down to
find "fdapm".

Jim

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user