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

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.


"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

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.080 / U:9.048 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site