lkml.org 
[lkml]   [1999]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: /proc/cpuinfo verbiage differ unnecessarily between ports...
    Date

    Ronald Cole writes:
    >I can't think of any good argument for keeping "processor" for the
    >i386 and "cpu" for the sparc64. Someone should probably fix all the
    >different ports so that the verbiage is consistent...

    It is, fortunately, the same in /proc/stat, which is where we look. :-)

    >But, there's probably a better, more portable, way to calculate the
    >number of processors for ps.

    That would be /proc/stat.

    michaelkjohnson

    "Magazines all too frequently lead to books and should be regarded by the
    prudent as the heavy petting of literature." -- Fran Lebowitz
    Linux Application Development http://people.redhat.com/johnsonm/lad/


    -
    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    [from the cache]
    ©2003-2014 Jasper Spaans. hosted at Digital Ocean