Bug 114020 - tux initscript simplification
tux initscript simplification
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: tux (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Karsten Hopp
Brian Brock
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-21 09:51 EST by Karsten Hopp
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-02-01 09:47:51 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 Karsten Hopp 2004-01-21 09:51:18 EST
Description of problem: 
the tux initscript uses 3 commands to determine the number of CPUs 
and doesn't even set LANG=C to speed up grep: 
NRCPUS=$(cat /proc/cpuinfo | grep '^processor[   0-9]*:' | wc -l) 
 
This should be replaced by 
NRCPUS=$(/usr/bin/getconf _NPROCESSORS_ONLN)

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