[lug] request for data: cpuinfo on non-x86 cpus

Zan Lynx zlynx at acm.org
Wed Jul 30 11:57:23 MDT 2008


Steve Sullivan wrote:
> On Wed, Jul 23, 2008 at 10:15:18AM -0600, Michael J. Hammel wrote:
>>> $ getconf _NPROCESSORS_ONLN
> 
> Where is this documented?  Yes, I've looked at the
> man pages for getconf, sysconf, confstr, and done the google
> dance.  But _NPROCESSORS_ONLN seems to be a secret.  What
> other secret variables exist?  Can you point to some docs?
> 
> Thanks,
> 
> Steve
> 

IEEE Std 1003.1-2001.

On my RedHat system, they are listed in /usr/include/bits/confname.h



More information about the LUG mailing list