how many processors

Ray Van Dolson rvandolson at esri.com
Wed May 9 18:23:08 UTC 2007


On Wed, May 09, 2007 at 02:18:55PM -0400, m.roth2006 at rcn.com wrote:
> >Date: Wed, 09 May 2007 12:11:31 -0500
> >From: Dana Holland <dana.holland at navarrocollege.edu>  
> >
> >How can you tell how many processors a server has?  I always thought 
> >that you could look in /proc/cpuinfo, but we recently had a Dell tech 
> >here that said that was incorrect.  One of my servers shows 4 
> <snip>
> 
> Have you tried top?
> 

I think this is a pretty reliable way:

  # /usr/sbin/dmidecode | grep -i "type 4" | wc -l

Ray




More information about the redhat-list mailing list