Bug 114020

Summary: tux initscript simplification
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: tuxAssignee: Karsten Hopp <karsten>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: p.van.egdom
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-01 14:47:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karsten Hopp 2004-01-21 14:51:18 UTC
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)