The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
how to know how many processer are there in u r system
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
how to know how many processer are there in u r system
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
11-04-2008
Annihilannic
™
Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Quote:
Originally Posted by
nitin
For Linux:
Code:
cat /proc/cpuinfo | grep processor | wc -l
Hmm... useless use of both
cat
and
wc
....
Code:
grep -c processor /proc/cpuinfo
Annihilannic
View Public Profile
Visit Annihilannic's homepage!
Find all posts by Annihilannic
Find Annihilannic's past nominations received
Find Annihilannic's present nominations given