Linux command to view server configuration information

View cpu info:

cat /proc/cpuinfo

View memory information:

grep MemTotal /proc/meminfo

View operating system information:

uname -a

View disk usage:

df -h

View other peripherals Disk Information:

fdisk -l

View all the available block devices:

lsblk

See all hardware information:

dmidecode |more
或:dmesg |more

View card information:

 ethtool eth0

Guess you like

Origin www.cnblogs.com/aric2016/p/10971690.html