Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 114020 - tux initscript simplification
tux initscript simplification
Product: Fedora
Classification: Fedora
Component: tux (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Karsten Hopp
Brian Brock
: FutureFeature
Depends On:
  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:
Last Closed: 2005-02-01 09:47:51 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 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.