本文共 1447 字,大约阅读时间需要 4 分钟。
dmidecode|grep "System Information" -A9|egrep "Manufacturer|Product|Serial"
dmidecode|grep -A16 "System Information$"
dmidecode -t bios
dmidecode -t memory | head -45 | tail -23
dmesg | grep -i Ethernet
lspci | head -10
cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
grep 'physical id' /proc/cpuinfo | sort | uniq | wc -l
cat /proc/cpuinfo | grep 'processor' | wc -l
cat /proc/cpuinfo | grep "cores" | uniq
cat /proc/cpuinfo | grep MHz | uniq
cat /proc/cpuinfo | head -20
lscpu
getconf LONG_BIT
cat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l
dmidecode -t memory | head -45 | tail -24
dmidecode|grep -P 'Maximum\s+Capacity'
dmidecode | grep -A5 "Memory Device" | grep Size | grep -v Range
dmidecode|grep -A16 "Memory Device"|grep 'Speed'
cat /proc/meminfo | head -20
free -m # -b,-k,-m,-g 显示输出按字节、KB、MB、GB分类显示
fdisk -l | grep Disk
lsblk
fdisk -l
mount | column -t
swapon -s
df -hT
smartctl -a /dev/sda
lspci | grep -i 'eth'
ifconfig -a
ip link show
ethtool eth0
for i in seq 0 9; do ethtool eth${i} | egrep 'eth|Link'; done lspci -tv | more
转载地址:http://sokfk.baihongyu.com/