lkml.org 
[lkml]   [1999]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/cpuinfo verbiage differ unnecessarily between ports...
On Wed, Sep 01 1999, Phillip Ezolt wrote:
> This is not true. There are REAL uses for the call.
>
> I am currently porting an application from Tru64 with behavior that depends on
> the number of CPUs in the system. (For example, How many buffers should I
> allocate?)
>
> Sure. I can write some code to parse /proc/stat or /proc/cpuinfo. Tru64 has
> the sysconf(_SC_NPROCESSORS_CONF) call, and it would be nice if Linux did the
> same. (especially since /proc/ has been known to change...)

Linux does have the sysconf(_SC_NPROCESSORS_CONF)...

--
* Jens Axboe <axboe@image.dk>
* Linux CD-ROM Maintainer
* http://www.kernel.dk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.325 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site