One: Quick View
1. View CPU information: Cat/proc/cpuinfo or LSCPU or
2. View card information: CAT/PROC/PCI
3. View USB Device: Cat/proc/bus/usb/devices
4. View PCI information: LSPCI (more intuitive than CAT/PROC/PCI)
5. View memory information: Cat/proc/meminfo or Free-m
6. View keyboard and mouse: Cat/proc/bus/input/devices
7. View system hard disk information and usage: Fdisk & disk–l & DF or lsblk or hdparm or Smartctl
8, detecting new hardware with hardware detection program Kuduz: Service kudzu start (or restart)
9. View Interrupt Request (IRQ) for each device: cat/proc/interrupts
10. View Boot Hardware detection infolog: DMESG more/var/log/dmesguname-auptime
11. View NIC Hardware information: Lspci|grep-i ' eth ' or Ethtool eth0
Several ways to view Linux version information:
1:uname-a
2:cat/proc/version
3:cat/etc/issue
4:lsb_release-a
5:cat/etc/redhat-release
6:rpm-q Redhat-release
Two: View hardware verbose commands
1.dmidecode: View All
2.smartctl: View Hard Drive
-I specified device
-d Specifies the device type, for example: ATA, SCSI, Marvell, Sat, 3ware,n
-A or a displays all information
-l Specifies the type of log, for example: Type:error, selftest, selective, Directory,background, Scttemp[sts,hist]
-H view hard disk health status
-T short background detection hard disk, time consuming
-T long background detection hard disk, long time consuming
-C-T Short Front desk detects hard drives and consumes less time
-C-T Long front desk detects hard drive and consumes time
-X interrupts background detection of hard drives
-l selftest display HDD detection log
HP HDD:
Smartctl-s on-d cciss,0/dev/cciss/c0d0 Turn on Smart
Smartctl-a-D cciss,0-i/dev/cciss/c0d0 Show all Smart info
Smartctl-l error-d cciss,0-i/dev/cciss/c0d0 View disk error log
+++++++++++++++++++++++smarted Service +++++++++++++++++
Simply say SMARTCTL:SMARTD is installed by the Kernel-utils package by default. With the command RPM-QL kernel-utils can list the files in the Kernel-utils package, which is a daemon (a helper) that can monitor self-monitoring, analysis and reporting techniques (self-monitoring, analyses, and Reporting Technology-smart) of the hard drive.
Master configuration file:/etc/smartd.conf
Add a line/dev/cciss/c0d0-h-m [email protected]
3.megaCli: Check the hard drive (if the machine has a disk array, you cannot use Smartctl)
http://www.theprojectbot.com/
4.hdparm: View Hard Drive
5.LSPCI: View All
6.ipmitool:
7.HP Server-specific command: HPACUCLI
8.dell Server-specific command: dellmgr
9. Other commands: Http://hwraid.le-vert.net/wiki/DebianPackages
This article is from the "Rookie Growth Diary" blog, please be sure to keep this source http://startlinux.blog.51cto.com/10045010/1759671
Linux Basics View hardware information