服务器系列之查看硬件信息

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/usr/bin/lshal
/usr/bin/lshw 
/usr/bin/lsb_release -a 
/bin/uname -a 
/usr/sbin/dmidecode 
/usr/bin/lscpu 
/usr/bin/lspci -vv 
/usr/sbin/lsusb -v 
/sbin/lsmod 
ulimit -a 
/usr/bin/vmstat 
/usr/bin/ipcs -l 
/usr/bin/xrandr 
/sbin/fdisk -l 
/bin/mount -l 
/bin/df -Th 
/sbin/hdparm -i /dev/sda 
/sbin/hdparm -I /dev/sda 
/bin/dmesg | /bin/grep -i raid 
/bin/dmesg 
/bin/cat /proc/cpuinfo 
/bin/cat /proc/swaps 
/bin/cat /proc/meminfo 
/bin/cat /proc/partitions 
/bin/cat /proc/version 
/bin/cat /proc/mdstat 
/bin/cat /proc/scsi/scsi 
/bin/cat /proc/ioports 
/bin/cat /proc/interrupts 
/bin/cat /proc/bus/usb/devices 
/bin/cat /proc/bus/input/devices 
/bin/cat /proc/bus/pci/devices 
/bin/cat /var/log/dmesg