If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Question: Command to tell # of processors

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-05-02, 11:19
sdfinfan sdfinfan is offline
Registered User
 
Join Date: Dec 2002
Posts: 4
Question: Command to tell # of processors

What is a command to show the number of processors and speed (also if one command or a series could show the amount of memory and installed disks that would be great too!

Thanks.
Reply With Quote
  #2 (permalink)  
Old 12-06-02, 07:15
WingMan WingMan is offline
Registered User
 
Join Date: Aug 2002
Location: UK
Posts: 87
What version of Unix are you running ??

On solaris (as root)
disk usage type: df -k
swap space type: swap -l
OS ver etc .. type: uname -a
No processos etc .. type: mpstat
Reply With Quote
  #3 (permalink)  
Old 12-06-02, 10:39
sdfinfan sdfinfan is offline
Registered User
 
Join Date: Dec 2002
Posts: 4
Thanks... But.. mpstat doesn't show speed

Any way to tell what the speed of the processors are?
Reply With Quote
  #4 (permalink)  
Old 12-10-02, 07:31
WingMan WingMan is offline
Registered User
 
Join Date: Aug 2002
Location: UK
Posts: 87
What OS are you running ??
Reply With Quote
  #5 (permalink)  
Old 12-11-02, 12:34
sdfinfan sdfinfan is offline
Registered User
 
Join Date: Dec 2002
Posts: 4
Quote:
Originally posted by WingMan
What OS are you running ??
Solaris
Reply With Quote
  #6 (permalink)  
Old 12-12-02, 06:22
WingMan WingMan is offline
Registered User
 
Join Date: Aug 2002
Location: UK
Posts: 87
ok try this then command -> psrinfo -v
Reply With Quote
  #7 (permalink)  
Old 12-15-02, 16:47
jmcphe jmcphe is offline
Registered User
 
Join Date: Dec 2002
Posts: 4
/usr/platform/sun4u/sbin/prtdiag -v might be more informational as well
Reply With Quote
  #8 (permalink)  
Old 01-21-03, 13:40
sdfinfan sdfinfan is offline
Registered User
 
Join Date: Dec 2002
Posts: 4
Quote:
Originally posted by jmcphe
/usr/platform/sun4u/sbin/prtdiag -v might be more informational as well
PERFECT!

Thanks!
Reply With Quote
  #9 (permalink)  
Old 07-09-03, 19:19
aruneeshsalhotr aruneeshsalhotr is offline
Registered User
 
Join Date: Jul 2003
Location: US
Posts: 314
Arrow No of processors on UNIX

Is there possible command to look for number of processors in UNIX.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On