CPU
lscpu
# Architecture: x86_64
# CPU op-mode(s): 32-bit, 64-bit
# Byte Order: Little Endian
# ...
cat /proc/cpuinfo
# processor : 0
# vendor_id : GenuineIntel
# cpu family : 6
# model : 37
# model name : Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
# ...
- 8 commands to check cpu information on Linux
- Ubuntu: Find CPU Information / Speed
- How to check processor and cpu details on Linux
RAM
可用記憶體大小
free -m
詳細資料
cat /proc/meminfo
時脈和DDR
sudo dmidecode --type 17
Hard Drive
Check Partitions
fdisk -l
df
Lists out all the storage blocks
lsblk
hwinfo
Other
ls /dev/disk/by-id
cat /sys/block/sda/device/model
- Tech Tip: Retrieve Disk Info from the Command Line | Linux Journal
- 9 commands to check hard disk partitions and disk space on Linux
MAC Adress
ifconfig -a