$ grep -c ^processor /proc/cpuinfo
this works for a Linux based system, other UNIX systems may have other way(s) to check the number of CPUs.
View this command to comment, vote or add to favourites
View all commands by gerard

by David Winterbottom (codeinthehole.com)






















0 Comments
You can be the first one to leave a comment.