Friday, January 15, 2010

Find Number of CPU on Linux

cat /proc/cpuinfo | grep processor | awk '{a++} END {print a}'

No comments:

Post a Comment