View hardware configuration in LINUX

Source: Internet
Author: User
Tags dmesg
Run the following command to View hardware configuration in LINUX: view the serial number of the motherboard: dmidecode | grep-iserialnumber. use the hardware detection program kuduz to check the CPU information of the new hardware: servicekudzustart (orrestart: cat/proc/cpuinfo [dmesg | grep-icpu] [dmidecode-t LINUX View hardware configuration
Common commands are as follows:
View the serial number of the motherboard: dmidecode | grep-I serial number
Use the hardware detection program kuduz to detect the new hardware: service kudzu start (or restart)
View CPU information: cat/proc/cpuinfo [dmesg | grep-I cpu] [dmidecode-t processor]
View memory information: cat/proc/meminfo [free-m] [vmstat]
View board information: cat/proc/pci
View the video/sound card information: lspci | grep-I VGA [dmesg | grep-I VGA]
View Nic information: dmesg | grep-I eth [cat/etc/sysconfig/hwconf | grep-I eth] [lspci | grep-I eth]
View PCI Information: lspci (more intuitive than cat/proc/pci)
View USB devices: cat/proc/bus/usb/devices
View the keyboard and mouse: cat/proc/bus/input/devices
View system hard disk information and usage: fdisk-l & df-h
View hdparm-tT/dev/sda
View interrupt requests of each device (IRQ): cat/proc/interrupts
View system architecture: uname-
View and start the 32-bit or 64-bit kernel mode of the system: isalist? V [isainfo? V] [isainfo? B]
Dmidecode: displays hardware information, including bios, cpu, and memory.
Determine the current display refresh frequency:/usr/sbin/ffbconfig? Rev?
View system configuration:/usr/platform/sun4u/sbin/prtdiag? V
View the patches applied in the current system: showrev? P
Displays the current running level: who? RH
View the current bind version: nslookup? Class = chaos? Q = txt version. bind
Dmesg | more View hardware information
Lspci displays peripheral information, such as usb and Nic.
Lsnod View loaded drivers
Lshw
Psrinfo-v view the type and speed of the current processor (clock speed)
Prtconf-v: print the current OBP version
Iostat? E. view the physical information of a hard disk (vendor, RPM, Capacity)
Prtvtoc/dev/rdsk/c0t0d0s View disk geometric parameters and partition information
Df? F ufs? O I displays the number of used and unused I-nodes
Isalist? V
For files in "/proc", you can use the file view command to browse its content. The file contains system-specific information:
CPU info host CPU information
Dma host DMA channel information
Filesystems file system information
Interrupts host interruption information
Ioprots host I/O port number information
Meninfo host memory information
Version Linux memory Version
Note: proc? Process information pseudo-filesystem process information camouflage file system
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.