how to use lscpu command with its examples

  • About lscpu : CPU architecture information helper
  • It comes from “util-linux-ng-2.17.2” package.
  • Configuration Files:
  • Path : /usr/bin/lscpu

Examples:

1. To get the CPU architecture

$ lscpu

2. To get the lscpu help

$ lscpu -h
$ lscpu –help 

3. To print the output in parsable format

$ lscpu -p
$ lscpu –parse

 

Leave a Reply

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