Which linux command is used to display CPU information on the CLI?
jnmakuru Changed status to publish November 27, 2023
Use “lshw” to print all hardware information, and “lshw -class cpu” to narrow down to only showing CPU information:
# lshw -class cpu
# lshw
Here are more options when using the “lshw” command:
1) Show Network Interface Card (NIC) information:
# lshw -class network
2) Show memory (RAM) information:
# lshw -class memory
Tech Junction Answered question November 26, 2023