Q. How do I find out my cpu is a dual-core cpu on Cent Os Linux?
A. Following are are few tips for identifying whether a cpu is dual-core or not. Please note there are few factors that might give your wrong result. For example wrong kernel image installed.
Task: Display CPU information
Type the following command to get overall cpu info:
$ less /proc/cpuinfo
Task: Identif whether a cpu is dual-core or not
$ grep cores /proc/cpuinfo
Output:
cpu cores : 2
Or type following command:
$ grep "core id" /proc/cpuinfo
🐧 Please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 5 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
Hi.. Can u plz say how to find the details in windows too??
yawn….
my computer properties
Hi,
I got this (below) in my dual cores… does the result is correct
executed this grep cores /proc/cpuinfo and it produces below two lines …
cpu cores : 1
cpu cores : 1
:)
Demonhill
I have a Dell power edge 2650 intel xeon dual-core server, i’ve runned these commands and i’ve got these, my question is these output command is OK?
root@shadow:~# grep -i core /proc/cpuinfo
core id : 0
cpu cores : 1
core id : 0
cpu cores : 1
core id : 0
cpu cores : 1
core id : 0
cpu cores : 1
root@shadow:~# grep cores /proc/cpuinfo
cpu cores : 1
cpu cores : 1
cpu cores : 1
cpu cores : 1
root@shadow:~# grep “core id” /proc/cpuinfo
core id : 0
core id : 0
core id : 0
core id : 0
How you come to Know Whether it is dual or quad core CPU?