The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Converting a Windows system to a UNIX system baksg1995 UNIX for Dummies Questions & Answers 6 09-17-2008 07:34 AM
how to mount a file system of a remote machine to local file system cy163 UNIX for Dummies Questions & Answers 2 01-31-2008 09:04 AM
rsh commands not getting executed from Solaris 10 System to AIX System jumadhiya SUN Solaris 25 01-22-2007 05:26 AM
Taking a system off a network on a system Terrible Shell Programming and Scripting 4 12-25-2006 09:49 AM
Processer Set Deepa UNIX for Dummies Questions & Answers 3 07-07-2002 06:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-21-2008
alokjyotibal alokjyotibal is offline
Registered User
  
 

Join Date: Feb 2008
Location: Mumbai
Posts: 26
how to know how many processer are there in u r system

there is acommand in solaris uname -x to know how to know how many processer are there in u r system
but how can i know these thins in ;onux or unix
  #2 (permalink)  
Old 10-21-2008
nitin's Avatar
nitin nitin is offline
Registered User
  
 

Join Date: Aug 2001
Location: Toronto, ON
Posts: 88
For Linux:

Code:
cat /proc/cpuinfo | grep processor | wc -l
  #3 (permalink)  
Old 11-04-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Quote:
Originally Posted by nitin View Post
For Linux:

Code:
cat /proc/cpuinfo | grep processor | wc -l
Hmm... useless use of both cat and wc....

Code:
grep -c processor /proc/cpuinfo
  #4 (permalink)  
Old 11-04-2008
igorc igorc is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 7
On Unix (Solaris)

/usr/sbin/psrinfo -pv
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:06 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0