Author jtaylor
Recipients davin, jtaylor, neologix
Date 2015-02-26.17:59:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I do agree that its probably safer to not change the default return value.
But adding a option (or new function) would still be good, the number of available cpus is more often the number you actually want in practice.
To the very least the documentation should be improved to clearly state that this number does not guarantee that this amount of cpus are actually available to run on and you should use psutils instead.

Code for getting this information for the major operating systems linux, bsd and windows is available in gnu coreutils.
I can possibly work on a patch if it would get accepted but I can only actually test it linux.
Date User Action Args
2015-02-26 17:59:17jtaylorsetrecipients: + jtaylor, neologix, davin
2015-02-26 17:59:17jtaylorsetmessageid: <>
2015-02-26 17:59:17jtaylorlinkissue23530 messages
2015-02-26 17:59:17jtaylorcreate