Show CPU info

CPU model, socket/core/thread topology, and clock speed

lscpu | grep -E 'Model|Socket|Core|Thread|MHz'

tool
linux133 commands
tags
linuxhardware

More linux commands

  • dmidecode -t memory | grep -E 'Size|Speed|Locator|Type:'

    Physical DIMM slots: size, speed, type (requires root)

  • lspci -v | grep -A5 'VGA\|Ethernet\|NVMe'

    Network cards, GPUs, NVMe controllers with driver info

  • chattr +i /etc/resolv.conf && lsattr /etc/resolv.conf

    Prevent any user (incl. root) from modifying the file

  • lsattr -R /etc/ 2>/dev/null | grep -v '^\-\-\-\-'

    List non-default extended attrs in /etc/

  • getfacl /srv/shared

    Show POSIX ACL entries including owner, group, and extra users

all 133 linux commands