Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to run two unix/linux programs on two different cpu cores Post 302689013 by kaaliakahn on Monday 20th of August 2012 05:02:44 PM
Old 08-20-2012
how to run two unix/linux programs on two different cpu cores

Hi folks,

I want to know how to run two unix programs on two different cpu cores on a 2-core or 4-core or 8-core CPU machine? Extending this how would i run four and eight unix programs on 4-core and 8-core machine respectively?

If this can be done, how to know which program is assigned to which core? I mean how would you collect statistics about the running program?

Thanks a lot for looking at my thread.


Kind Regards,
 

8 More Discussions You Might Find Interesting

1. Programming

How to compile and run C++ programs in UNIX environment?

:( :confused: Does anybody here know how to compile and run C++ programs in UNIX enviroment? I am so confused. Any help on this would be greatly appreciated! Thanks! (5 Replies)
Discussion started by: Kahuashi
5 Replies

2. Shell Programming and Scripting

Is there a way to make bash [or another shell] use all CPU cores to execute a single script?

I wrote a very simple script that matches combinations of alphabetic characters (1-5). I want to use it to test CPU speeds of different hardware/platforms. The problem is that on multi-core/processor systems, only one CPU is being utilized to execute the script. Is there a way to change that?... (16 Replies)
Discussion started by: ph0enix
16 Replies

3. Red Hat

Lost CPU CORES

Hey all, dmidecode | grep -i CPU Socket Designation: CPU 0 Version: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz Socket Designation: CPU 1 Version: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz cat /proc/cpuinfo | grep -i cpu cpu family : 6... (24 Replies)
Discussion started by: rmokros
24 Replies

4. UNIX for Advanced & Expert Users

UNIX / LINUX OS CPU configuration details

Hi, How to find the cpu configuration details of Cores, Speed MHz, virtual processors for the following servers: LINUX OS Servers: Linux 2.6.9-89.0.3.ELsmp #1 SMP Sat Jun 13 07:05:54 EDT 2009 i686 i686 i386 GNU/Linux. (Cores, Speed, Processor) Linux 2.6.18-164.el5 #1 SMP Tue Aug 18... (5 Replies)
Discussion started by: jagtheesh
5 Replies

5. Solaris

CPU/processor/cores in M4000

Hi Gurus Can someone help me in explaining the below outputs . psrinfo -p 4 /usr/sbin/psrinfo -pv The physical processor has 4 virtual processors (0-3) SPARC64-VI (portid 1024 impl 0x6 ver 0x93 clock 2150 MHz) The physical processor has 4 virtual processors (8-11) SPARC64-VI... (3 Replies)
Discussion started by: ningy
3 Replies

6. Solaris

Numbers-of-cpu-cores-in-Solaris-10

Hello All, How do I find the number of CPU's, virtual processors in solaris 10? Thank you Sunil Kumar (2 Replies)
Discussion started by: msgforsunil
2 Replies

7. Red Hat

CPU and Cores information

Hi all. I have a question about linux command to find number of CPU and Core. I usually use the command dmidecode -t processor to find cpu and core numbers . On this machine with Red Hat 4. 0 when I try to insert the command is returned the error -bash: dmidecode: command not found I try to... (8 Replies)
Discussion started by: piccolinomax
8 Replies

8. Solaris

Questions regarding CPU cores vs rctl limit

Hi, I am trying to gather cpu core details and used this script - Solaris & Scripting: Script - Find cpu - model / type / count / core / thread / speed - Solaris Sparc For auuditing purpose, we want to know how many cores are being used by Oracle, because oracle license will be charged on... (2 Replies)
Discussion started by: solaris_1977
2 Replies
AMDTEMP(4)						   BSD Kernel Interfaces Manual 						AMDTEMP(4)

NAME
amdtemp -- device driver for AMD K8, K10 and K11 on-die digital thermal sensor SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device amdtemp Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): amdtemp_load="YES" DESCRIPTION
The amdtemp driver provides support for the on-die digital thermal sensor present in AMD K8, K10 and K11 processors. For the K8 family, the amdtemp driver reports each cores' temperature through a sysctl node in the corresponding CPU devices's sysctl tree, named dev.amdtemp.%d.sensor{0,1}.core{0,1}. The driver also creates dev.cpu.%d.temperature displaying the maximum temperature of the two sensors located in each CPU core. For the K10 and K11 families, the driver creates dev.cpu.%d.temperature with the temperature of each core. BUGS
AMD K9 is not supported because temperature reporting has been replaced by Maltese. SEE ALSO
sysctl(8) HISTORY
The amdtemp driver first appeared in FreeBSD 7.1. AUTHORS
Rui Paulo <rpaulo@FreeBSD.org> Norikatsu Shigemura <nork@FreeBSD.org> BSD
April 8, 2008 BSD
All times are GMT -4. The time now is 01:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy