Sponsored Content
Full Discussion: CPU and Cores information
Operating Systems Linux Red Hat CPU and Cores information Post 302990477 by Pradeep90 on Thursday 26th of January 2017 06:22:36 PM
Old 01-26-2017
To Find how many cores and cores per socket:
Code:
#lscpu | grep -i 'socket'

To Find how many CPUs :
Code:
#grep -i "physical id" /proc/cpuinfo | sort -u | wc -l

Best way will be the usage of xsos command.(This work on RHEL4)
You can get it on github site.

Cheers...!

Last edited by rbatte1; 01-27-2017 at 11:28 AM.. Reason: Added CODE tags
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

CPU Usage Information

how would I list the high end of CPU utilization for the previous hours of the day. I don't need to know the averages. I'm wanting to know the high and low, etc. for what ever time interval that is avaliable? Thank you. (2 Replies)
Discussion started by: cubs0729
2 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 Dummies Questions & Answers

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... (1 Reply)
Discussion started by: kaaliakahn
1 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. 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

8. UNIX for Beginners Questions & Answers

Cpu information

hi unix expert is there any program in terminal to show cpu and ram information? and usage of this? Many thanks samad (3 Replies)
Discussion started by: abdossamad2003
3 Replies
CPUPOWER(1)							  cpupower Manual						       CPUPOWER(1)

NAME
cpupower - Shows and sets processor power related values SYNOPSIS
cpupower [ -c cpulist ] <command> [ARGS] cpupower -v|--version cpupower -h|--help DESCRIPTION
cpupower is a collection of tools to examine and tune power saving related features of your processor. The manpages of the commands (cpupower-<command>(1)) provide detailed descriptions of supported features. Run cpupower help to get an over- view of supported commands. Options --help, -h Shows supported commands and general usage. --cpu cpulist, -c cpulist Only show or set values for specific cores. This option is not supported by all commands, details can be found in the manpages of the commands. Some commands access all cores (typically the *-set commands), some only the first core (typically the *-info commands) by default. The syntax for <cpulist> is based on how the kernel exports CPU bitmasks via sysfs files. Some examples: Input Equivalent to all all cores 0-3 0,1,2,3 0-7:2 0,2,4,6 1,3,5-7 1,3,5,6,7 0-3:2,8-15:4 0,2,8,12 --version, -v Print the package name and version number. SEE ALSO
cpupower-set(1), cpupower-info(1), cpupower-idle(1), cpupower-frequency-set(1), cpupower-frequency-info(1), cpupower-monitor(1), power- top(1) AUTHORS
--perf-bias parts written by Len Brown <len.brown@intel.com> Thomas Renninger <trenn@suse.de> 07/03/2011 CPUPOWER(1)
All times are GMT -4. The time now is 05:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy