Bug 9106 - Recognition of number of processors doesn't work. (+ fix! )
Recognition of number of processors doesn't work. (+ fix! )
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.1
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-02-03 18:03 EST by Gerben Roest
Modified: 2014-03-16 22:12 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-03 18:20:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gerben Roest 2000-02-03 18:03:01 EST
The file /etc/rc.d/rc.local doesn't give the right amount
of processors as it is installed with RH 6.1.
The line that doesn't work is:

NUMPROC=`grep -cl "^cpu[0-9]+" /proc/stat`

it must be :

NUMPROC=`grep -c "^cpu[0-9]" /proc/stat`
Comment 1 Bill Nottingham 2000-02-03 18:20:59 EST
Fixed in the errata initscripts.

Note You need to log in before you can comment on or make changes to this bug.