[lkml]   [1999]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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 <>
    * Linux CD-ROM Maintainer

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:53    [W:0.018 / U:14.824 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site