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

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-02-03 18:20:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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.
Comment 2 openshift-github-bot 2018-05-10 08:32:07 EDT
Commit pushed to master at https://github.com/openshift/openshift-docs

Merge pull request #9121 from kalexand-rh/issue9106

adding yum-utils to host prep

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