Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lscpu(1) [suse man page]

LSCPU(1)							   User Manuals 							  LSCPU(1)

NAME
lscpu - CPU architecture information helper SYNOPSIS
lscpu [-hp] DESCRIPTION
lscpu gathers CPU architecture information like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU fam- ily, model and stepping from sysfs and /proc/cpuinfo, and prints it in human-readable format. Alternatively, it can print out in parsable format including how different caches are shared by different CPUs, which can also be fed to other programs. OPTIONS
-h, --help Print a help message. -p, --parse Print out in parsable instead of printable format. BUGS
The program at the moment does not handle the system installed with different types of physical processors. Sometimes in Xen Dom0 kernel reports wrong data. AUTHOR
Cai Qian <qcai@redhat.com> AVAILABILITY
The setarch command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. Linux JULY 2008 LSCPU(1)

Check Out this Related Man Page

LSCPU(1)							   User Manuals 							  LSCPU(1)

NAME
lscpu - CPU architecture information helper SYNOPSIS
lscpu [-hpx] [-s directory] DESCRIPTION
lscpu gathers CPU architecture information like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU fam- ily, model, bogoMIPS, byte order and stepping from sysfs and /proc/cpuinfo, and prints it in a human-readable format. It supports both online and offline CPUs. It can also print out in a parsable format, including how different caches are shared by different CPUs, which can be fed to other programs. OPTIONS
-h, --help Print a help message. -p, --parse Print out in parsable instead of human-readable format. -s, --sysroot directory Use the specified directory as system root. This allows you to inspect a snapshot from a different system. -x, --hex Use hexadecimal masks for CPU sets (e.g. 0x3). The default is to print the sets in list format (e.g. 0,1). BUGS
The basic overview about CPU family, model, etc. is always based on the first CPU only. Sometimes in Xen Dom0 the kernel reports wrong data. AUTHOR
Cai Qian <qcai@redhat.com> Karel Zak <kzak@redhat.com> AVAILABILITY
The lscpu command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. Linux February 2011 LSCPU(1)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Want to update the RAM

hi, i m working on my ubuntu 12.10 i wanted to update my desktop's RAM. so kindly let me know how i get below details (thru commands in terminal) 1) what is the processor am using currently 2) what is the RAM am using currently 3) max how much i can upgrade my RAM (4 Replies)
Discussion started by: anandpasunoori
4 Replies

2. UNIX for Advanced & Expert Users

How to check number of threads running per processor in Linux machine?

I have a machine which has 32 processor but i am really not sure how many threads are running. It has hyperthreading enabled. Is there a way i can find that all 32 processors are being used and how many threads are there in my linux box. Its a 64 bit processor. I am having very high load average... (3 Replies)
Discussion started by: Moon1234
3 Replies

3. Shell Programming and Scripting

Unwanted execution instead of saving to environment variable

My .bash_profile file: source $HOME/build.variables My build.variables file: export threads="$(${threads:-$(lscpu | egrep "CPU\(s\):|Thread" | $]\)\n. *Thread.*\(]\)@\1*\2@;Ta")])})"threads=$(lscpu | egrep "CPU\(s\):|Thread" | $]\)\n.*Thread.*\(]\)@\1*\2@;Ta")The above codes when not comment out... (7 Replies)
Discussion started by: charlieandlinux
7 Replies

4. SuSE

Suse 10 shows only 1 cpu

Hi im using vmware esxi 5.1 and my guest is suse 10SP3 64bit at start it was configured with only 1 cpu. i added 1 more cpu. when i run this command: lscpu, it shows only 1 cpu installed how can i fix that? thanks! (4 Replies)
Discussion started by: guy3145
4 Replies

5. 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

6. Red Hat

%memused is high

All I see cpu and memory usage are under control, only cache gets high upto 99% using sar -r command I did echo3 and cleaned the drop caches do we need to monitor this , why my application going high upto 99.8% memused in sar command , this is cache memory which is going high will this... (12 Replies)
Discussion started by: anil529
12 Replies

7. UNIX for Beginners Questions & Answers

UNIX cluster disk usage report generation for yesterday & today and email

HI Team, I am trying to create a shell script to generate a yesterday and today report to compare and email in daily basis. can you please help me on the same. #!/bin/bash #Author: ******************* #Description: This script will return the following set of system information: ... (2 Replies)
Discussion started by: Mi4304
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