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.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to