lkml.org 
[lkml]   [2002]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRE: Linux 2.4.19ac3rc3 on IBM x330/x340 SMP - "ps" time skew
    From
    Date
    On Wed, 2002-07-31 at 13:59, David Luyer wrote:
    > printf("%d\n", sysconf(_SC_NPROCESSORS_CONF));
    > }
    > luyer@praxis8:~$ ./cpus
    > 4
    > luyer@praxis8:~$ grep 'processor ' /proc/cpuinfo
    > processor : 0
    > processor : 1

    In which case I suggest you file a glibc bug. sysconf looks at the /proc
    stuff as I understand it

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

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