cat /proc/cpuinfo | grep physical | sort -n | uniq | wc -l
cat /proc/cpuinfo | grep physical | sort -n | uniq -c
cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq
getconf LONG_BIT
uname -a
lsb_release -d
lscpu
cat /proc/meminfo | grep MemTotal
cat /proc/version
lspci | grep -i vga
dmidecode | grep “Product Name”
dmidecode |grep -A16 “System Information$”
fdisk -l
df -h
lsb_release -a
uptime
cat /proc/loadavg
ifconfig
查看防火墙设置iptables -L
查看所有进程ps -ef
实时显示进程状态top
查看用户登录日志last
cut -d: -f1 /etc/passwd
列出所有系统服务chkconfig --list或者
systemctl list-unit-files



