Linux Command: lscpu

Published on December 15, 2021 at 6:48 am by LEW


The lscpu command is used to display information about the Central Processing Unit (CPU) of your computer, often just refereed to as the processor. The command provides output in a two column format using name: value pairs. Which columns have information displayed will depend to some extend on the CPU architecture.

Syntax and Function

The syntax for the lscpu command is:

lscpu [options]

There are only a few options that most casual users will actually use. Generally the command is given by itself.


Basic usage of the command lscpu is as follows, with no options.


This will print out a two column list of information derived primary from the /proc/cpuinfo directory. Depending on CPU architecture, additional information may come from CPU specific libraries (like powerpc or librtas for example).


There are only a few options that most users will use with any regularity. They are as follows.


The lscpu command is a quick way to determine your processor characteristics, brand , and type.

Add New Comment

Your email address will not be published. Required fields are marked *