How do you see CPU hardware information?
IntermediateConceptStorage & Memory
Answer
lscpu # sockets, cores, threads, NUMA, model, flags
nproc # usable CPUs (honours affinity/cgroup cpusets)
cat /proc/cpuinfo | grep 'model name' | head -1
Thread(s) per core: 2 means hyper-threading: a cloud vCPU is usually one hyper-thread, not a full core.
More on Storage & Memory
How do you list disks, partitions and filesystems?IntermediateMBR vs GPT partition tables?IntermediateWalk through adding a new disk and mounting it permanently.IntermediateExplain the six fields of an /etc/fstab line.IntermediateWhy use UUIDs and `nofail` in fstab?IntermediateWhat does a bad fstab entry do, and how do you recover?Advanced