Linux Command To Find the System Configuration And Hardware Information
2013-12-05 08:00
597 查看
What
is the command to find the system configuration on Linux operating system using command line (text) mode?
On Linux based system most of the hardware information can be extracted from /proc file system, for example display CPU and Memory
information, enter:
cat /proc/meminfo
cat /proc/cpuinfo
The following list summarizes commands to get various hardware from the system:
Use any one of the following command:
OR
Use any one of the following command:
OR
Type the following command:
Sample outputs:
OR use
Sample outputs:
OR use the following command:
Sample outputs:
Type the following command to see your motherboard, cpu, vendor, serial-numbers, RAM, disks, and other information directly from the system BIOS:
is the command to find the system configuration on Linux operating system using command line (text) mode?
On Linux based system most of the hardware information can be extracted from /proc file system, for example display CPU and Memory
information, enter:
Tutorial details | |
---|---|
Difficulty | Intermediate (rss) |
Root privileges | Yes |
Requirements | None |
Estimated completion time | 10 minutes |
cat /proc/cpuinfo
The following list summarizes commands to get various hardware from the system:
Linux cpu/hardware information
Use any one of the following command:# less /proc/cpuinfo
OR
# lscpu
Linux show free and used memory in the system
Use any one of the following command:# cat /proc/meminfo
OR
# free # free -m # free -mt # free -gt
Linux find out the current running kernel version
Type the following command:# cat /proc/version
Sample outputs:
Linux version 3.2.0-43-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #68-Ubuntu SMP Wed May 15 03:33:33 UTC 2013
OR use
# uname -mrs # uname -a
Find out information about the Linux distribution and version
# lsb_release -a
Sample outputs:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: precise
OR use the following command:
$ cat /etc/*release*
Sample outputs:
Red Hat Enterprise Linux Server release 6.4 (Santiago)
List all PCI devices
# lspci
List all USB devices
# lsusb
List all block devices (hard disks, cdrom, and others)
# lsblk
Dump all hardware information
Type the following command to see your motherboard, cpu, vendor, serial-numbers, RAM, disks, and other information directly from the system BIOS:# dmidecode | less
相关文章推荐
- Linux Command To Find the System Configuration And Hardware Information
- Use the Get-Command PowerShell Cmdlet to Find Parameter Set Information
- Linux System Programming: Talking Directly to the Kernel and C Library [ILLUSTRATED]
- system call filters failed to install; check the logs and fix your configuration or disable system c
- How to find PID of process listening on a port in Linux? netstat and lsof command examples
- How to Mount and Unmount Filesystem / Partition in Linux (Mount/Umount Command Examples)
- Linux System Programming: Talking Directly to the Kernel and C Library
- Linux command to display package description, information, version and usage
- unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make a
- Internet Information Services is not installed. You must have Internet Information Services installed in order to use the SharePoint Products and Technologies Configuration Wizard
- Linux System Programming: Talking Directly to the Kernel and, C Library [ILLUSTRATED] (Paperback) Sep.2007.eBook-BBL
- Linux Find Out Last System Reboot Time and Date Command
- The Linux Programming Interface 12 System And Process Information 系统和进程信息
- tsm客户端 the system date and use the ACCEPT DATE command to establish the current
- The linux command line--part Two Configuration And The Environment
- Get and display the size of file and directory in Linux system using du command 获取和现实linux文件大小(三)
- The Linux Programming Interface 11 System Limits And Options 系统限制和选择
- Linux to read the Processor model, physical cores, virtual cores and L1, L2 cache
- How to access Dropbox from the command line in Linux
- unable to find the sources of your current Linux k