[fpc-pascal] How to get info about CPU and Memory usage?

Michael Van Canneyt michael at freepascal.org
Thu Feb 28 09:12:03 CET 2013

On Wed, 27 Feb 2013, Graeme Geldenhuys wrote:

> On 2013-02-27 16:49, Michael Van Canneyt wrote:
>> It is better to simply parse
>> /proc/cpuinfo
>> and
>> /proc/PID/*
> .... and hope all distros behave the same.  My experience with OnGuard
> work is that your mileage will vary.

I happen to know the code will have to run only on 1 type of system.
Even so, I would still advise this over running an external program.


More information about the fpc-pascal mailing list