diep doan wrote:
> 
> Hi all,
> 
> I want to write a script to automatically install modules (put the
> module in /lib/modules/...). How can I find out if the machine is
> running SMP or non-SMP kernel so that my script will copy the
> appropriate module to appropriate place?

cat /proc/cpuinfo |grep processor |wc |cut -c1-7
or
uname -v |grep SMP

-- 
           _,--"
dik        `-._        ________-_______        "----
       _----'--'--------------------------------'--'----_
      //_| | \        [EMAIL PROTECTED]          / | |_\\
     (_____|_|__= Guilford CT +1.203.458.0389  =__|_|_____)
     _\_____=___   http://www.buckosoft.com     ___=_____/_
       \/-(o)-~~-(o)-~~-(o)-`------'-(o)-~~-(o)-~~-(o)-\/
Early Klingon Poetry:
Wustl, Wustl, ERR RIP MIT BOOT, BIND Wustl
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to