Linux hardware configuration command Summary (favorites)

Source: Internet
Author: User
Tags dmesg

Linux hardware information # uname-a # view kernel/operating system/cpu information # head-n 1/etc/issue # view OS version # cat/proc/cpuinfo # view cpu Information # hostname # View computer name # lspci-TV # list all pci devices # lsusb-TV # list all usb devices # lsmod # list loaded kernel modules # env # view environment variable resources # free-m # view memory usage and swap zone usage # df-h # view usage of each partition # du-sh <Directory Name> # view the size of a specified directory # grep memtotal/proc/ meminfo # view the total memory # grep memfree/proc/meminfo # view the Amount of idle memory # uptime # view the system running time, number of users, and load # cat/proc/loadavg # view the system load Disk and partition # mount | column-t # view the status of the mounted partition # fdisk-l # view all partitions www.jbxue.com # swapon-s # view all swap partitions # hdparm-I/dev/ hda # view disk parameters (applicable only to ide devices) # dmesg | grep ide # view the ide Device Detection Status at startup Network # ifconfig # view the attributes of all network interfaces # iptables-l # view firewall settings # route-n # view route table # netstat -lntp # view all listening ports # netstat-antp # view all established connections # netstat-s # view network statistics process # ps-ef # view all processes # top # Real-Time display Process status user # w # view active users # id <User Name> # view specified user information # last # view User Logon Log # cut-d:-f1/etc/passwd # view all users in the system # cut-d: -f1/etc/group # view all system groups # crontab-l # view the scheduled Task Service of the current user # chkconfig -- list # list all system services # chkconfig -- list | grep on # list all started system service programs # rpm-qa # view all installed software packages using the following common commands: 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) to view the 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 video card/sound card information: lspci | grep-I 'vga '[dmesg | grep-I 'vga'] to view the NIC information: dmesg | grep-I 'eth '[cat/etc/sysconfig/hwconf | grep-I eth] [lspci | grep-I 'eth'] www.2cto.com <! -- More --> View pci information: lspci (more intuitive than cat/proc/pci) view usb devices: cat/proc/bus/usb/devices view keyboard and mouse: cat/proc/bus/input/devices view system hard disk information and usage: fdisk & disk-l & df view interrupt requests of each device (irq ): cat/proc/interrupts view system architecture: uname-a links:

  • Command for viewing hardware information in linux
  • View CPU information, machine model, and other hardware information in Linux
  • Run the dmidecode command in linux to view hardware information.
  • Detailed description of Linux hardware information viewing tool dmidecode
  • View hardware information (CPU, memory, hard disk, and motherboard) in linux)
  • How to view hardware configuration information in LINUX
  • Several commands for viewing hardware information in Linux
  • How to view Linux hardware information
  • View hardware information (CPU, memory, machine model, network card, etc.) in Linux)
  • Linux Command for viewing hardware (CPU | motherboard | memory | OS) Information
  • Quick Command list for viewing hardware information
  • Command for viewing hardware configurations in linux
View and start the system's 32-bit or 64-bit Kernel Mode: isalist-v [isainfo-v] [isainfo-B] dmidecode to view hardware information, including bios, cpu, memory and other information to 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: nslookup-class = chaos-q = txt version. binddmesg | more view hardware information lspci display peripheral information, such as usb, Nic and other information lsnod view loaded driver lshwpsrinfo-v view current Processor type and speed (clock speed) prtconf-v print the current obp version www.2cto.com iostat-e to view the hard disk physical information (vendor, rpm, capacity) prtvtoc/dev/rdsk/c0t0d0s view the disk's geometric parameters and partition information df-f ufs-o I display the number of I-nodes used and not used isalist-v for "/proc you can use the File View command to browse the file content, the file contains system-specific information: cpuinfo host cpu information dma host dma channel information filesystems File System Information interrupts host interrupt information ioprots host I/o port number information meninfo host memory information version linux memory version information remarks: proc-process information pseudo-filesystem process information camouflage File System

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.