The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
awk question..
.
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
:
awk question..
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
07-17-2008
nua7
Registered User
Join Date: Mar 2008
Location: /bin/sh
Posts: 353
This won;t work , because I need to count the total number of cores , including all processors.
Code:
[root@iqmango ~]# grep cores /proc/cpuinfo |wc -l 8
This gives me the total number of processors but not cores.For cores I need to add up the lines as mentioned in the fiorst post.
Hope the confusion is clear.
Thanks!
nua7
nua7
View Public Profile
Find all posts by nua7
Find nua7's past nominations received
Find nua7's present nominations given