Processor id/name


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Processor id/name
# 1  
Old 05-14-2009
Processor id/name

How to find out whether the system has multiple processors.

In multiprocessor system how to get their names or ids

How to send command to a particular processor ( can we use rsh)
# 2  
Old 05-14-2009
The top(1) command will show what processes are running on what processor.

You will have to tell us what flavour of Unix you are running at which point an expert on that flavour will tell you what can be done about running on a particular processor?
# 3  
Old 05-14-2009
I am running on linux system. I have tried using top ( could not understand what the output meant).


What I want to know is how to run commands on different processors ( I think I will be able to do that using rsh but for that I need to know their name or id right??)

I am not able to use mpstat it says command not found.
I know I have 8 processors, found that using this command
$ cat /proc/cpuinfo |grep processor | wc -l
# 4  
Old 05-15-2009
If the copy of top is multi-processor aware the process will show which CPU it is running with a slash and a number, that number being which processor the process is running on.

If mpstat is on your system somewhere then "locate(1)" will find it, you may have to run updatedb(8) first, so try running:
Code:
$ locate mpstat | grep bin

mpstat will show the loading for each processor (or the cpu you have selected depending on the version of mpstat) but not what is running on each processor.

Don't forget that the operating system should spread the load across the processors for you so you should not need to select which processor your process should run on.

Last edited by TonyFullerMalv; 05-17-2009 at 12:33 PM..
# 5  
Old 05-16-2009
try this

cat /proc/cpuinfo

but it is specific to os
# 6  
Old 05-17-2009
Quote:
Originally Posted by amitranjansahu
try this

cat /proc/cpuinfo

but it is specific to os
Linux Only.
# 7  
Old 05-19-2009
another command for cpu details

psrinfo -v

or /usr/platform/`uname -i`/sbin/prtdiag
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help for processor

hello Admins, how to find number of processor in unix machine. (2 Replies)
Discussion started by: vipinkumarr89
2 Replies

2. Shell Programming and Scripting

m4 processor (how to use)

hi, what plugins i need to install to run m4 processor in bash shell. Also, what is the file extension for m4 processor ( like .cc in c ). Thanks (1 Reply)
Discussion started by: Learnerabc
1 Replies

3. Shell Programming and Scripting

Processor and Its speed

Hi I need a command to know how many processors are available and what is their speed in UNIX. Thanks (2 Replies)
Discussion started by: diksha2207
2 Replies

4. UNIX for Dummies Questions & Answers

Processor bits

Hi friends pls let me know how to find sun processor is 32 bits or 64 bits through command line. thanks (2 Replies)
Discussion started by: anuragbirje
2 Replies

5. AIX

Processor and processor core

Guys... Hows it going??? I have been going through the hardware spec of IBM system p systems.. and here i am confused for IBM Power 520 Express it says Processor cores: One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

6. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

7. Shell Programming and Scripting

How to get Processor Id

Hi Everyone I am new to unix. I ahve few quries that i would like to post. Is there any way by which i get the unique processor Id. Actually i am unable to find any logic and method to get access to Processor Id. Is it possible to get it. I read it on Intel site that the new processor do no... (1 Reply)
Discussion started by: atul.saxena
1 Replies

8. AIX

Intel Processor

hello World I Hope to know Why AIX don't Run under INTEL Processor ?? If Any Project Is expected to make AiX to run Under INTEL Processor ??? Thank you ALL (3 Replies)
Discussion started by: mktahar
3 Replies

9. UNIX for Dummies Questions & Answers

checking no of processor

Is there any other command to check no of processor rather than prtconf -v, prtdiag -v, banner (on boot PROM) (3 Replies)
Discussion started by: abi
3 Replies

10. UNIX for Dummies Questions & Answers

Processor

From a PROM ok prompt I have typed banner. This returned this info SunSPARCStation20 (1X390Z50) ...... Okay, I read that the 1x390z50 is the processor type. How can I found out the speed of these processor? Is it 50mhz? Don't know but I am curious. Thanks (5 Replies)
Discussion started by: jwbrown
5 Replies
Login or Register to Ask a Question