linux command to check cpu info code example
Example 1: chcek number of cpus available on linux machine
lscpu | egrep 'CPU\(s\)'
Example 2: linux cpu infos
# >>"lscpu"<< shows general information about your CPU:
# - name
# - frequency
# - architecture
# - etc.
lscpu
# If you were looking for the current CPU usage, try >>"top"<<