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
AIX p5 virtual processors setting guttew UNIX for Advanced & Expert Users 3 11-21-2006 10:39 AM
check memory and processors rocker40 UNIX for Dummies Questions & Answers 2 10-25-2006 04:16 PM
number of processors csaunders HP-UX 1 02-12-2004 04:22 PM
How do I determine # of processors ... bbrandeb49 UNIX for Dummies Questions & Answers 2 10-16-2002 02:13 PM
Dual processors jwbrown UNIX for Dummies Questions & Answers 3 05-30-2001 03:40 PM

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 11-13-2006
bishweshwar bishweshwar is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 56
No: of processors

which unix command can be used to know the no: of processors running on that machine...

version used:- Solaris 8.0
  #2 (permalink)  
Old 11-13-2006
Tornado's Avatar
Tornado Tornado is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Melbourne
Posts: 249
psrinfo -v
  #3 (permalink)  
Old 11-14-2006
bishweshwar bishweshwar is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 56
it takes the argument as processor id......

how can I know this id....b4 using psrinfo......
  #4 (permalink)  
Old 11-14-2006
Tornado's Avatar
Tornado Tornado is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Melbourne
Posts: 249
Quote:
Originally Posted by bishweshwar
it takes the argument as processor id......

how can I know this id....b4 using psrinfo......
Without the processor_id operand, psrinfo displays one line for each configured processor, displaying whether it is on-line, non-interruptible (designated by no-intr), off-line, or powered off, and when that status last changed.

The processor_id is 1, 2, 3 ..etc depending on how many CPU the system has.

If you only have one cpu then it will be psrinfo -v 1

Run psrinfo without a processor_id to list them all.
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 12:49 AM.


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