Getting CPU info using cpufetch on Raspberry Pi

cpufetch is a command line tool which shows a variety of CPU information such as processor name, microarchitecture, number of cores, etc.

This tutorial explains how to install cpufetch on Raspberry Pi.

Install cpufetch

Use SSH to connect to Raspberry Pi. Download cpufetch binary from the releases page in GitHub repository:

sudo wget -O /usr/local/bin/cpufetch https://github.com/Dr-Noob/cpufetch/releases/download/v1.04/cpufetch_arm64_linux

Next, we need to set execute permission:

sudo chmod a+x /usr/local/bin/cpufetch

This means that the cpufetch command is available for all users as a system-wide command.

We can check version of cpufetch as follows:

cpufetch --version

Testing cpufetch

Run cpufetch command without any arguments:

cpufetch

This is what I saw

user@raspberrypi:~ $ cpufetch

                                            
             ################               
        ##########################          
     ################################       
   ################@@@@################     
  ################@@@@@@################    
 #################@@@@@@#################   SoC:                 Broadcom BCM2711
#################@@@@@@@@#################  Technology:          28nm
#################@@@@@@@@#################  Microarchitecture:   Cortex-A72
################@@@@##@@@@################  Max Frequency:       1.500 GHz
################@@@@##@@@@################  Cores:               4 cores
###############@@@@####@@@@###############  Features:            NEON,CRC32
 @@@@@@@@@@####@@@@####@@@@####@@@@@@@@@@   Peak Performance:    24.00 GFLOP/s
  ######@@@@@@@@@@######@@@@@@@@@@######    
    ##################################      
      ##############################        
         ########################           
             ###############

Link

https://github.com/Dr-Noob/cpufetch

Related posts

Use lshw to get hardware information about a Raspberry Pi

Check Whether Raspberry Pi OS is 32-bit or 64-bit

Generate passwords using pwgen on Raspberry Pi

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More