Created
November 16, 2015 09:27
-
-
Save smamran/e320a5cd421ab7260d36 to your computer and use it in GitHub Desktop.
Linux OS HW & SW Check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $$$$$$$$$$$$$$$$$$$$$ cat /proc/version | |
| Linux version 4.2.0-c9 (root@7b840bf4fc5e) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Wed Sep 30 16:14:37 UTC 2015 | |
| $$$$$$$$$$$$$$$$$$$$$ lscpu | |
| Architecture: x86_64 | |
| CPU op-mode(s): 32-bit, 64-bit | |
| Byte Order: Little Endian | |
| CPU(s): 8 | |
| On-line CPU(s) list: 0-7 | |
| Thread(s) per core: 2 | |
| Core(s) per socket: 4 | |
| Socket(s): 1 | |
| NUMA node(s): 1 | |
| Vendor ID: GenuineIntel | |
| CPU family: 6 | |
| Model: 62 | |
| Stepping: 4 | |
| CPU MHz: 2499.998 | |
| BogoMIPS: 4999.99 | |
| Hypervisor vendor: KVM | |
| Virtualization type: full | |
| L1d cache: 32K | |
| L1i cache: 32K | |
| L2 cache: 256K | |
| L3 cache: 30720K | |
| NUMA node0 CPU(s): 0-7 | |
| $$$$ sudo apt-get install lshw | |
| $$$$ sudo lshw -short | |
| #### ubuntu, debian | |
| $$$$ sudo apt-get install lshw | |
| #### fedora, centos (epel) | |
| $$$$ sudo yum install lshw | |
| $$$$ sudo lshw -short -class memory | |
| $$$$ sudo lshw -class processor | |
| $$$$ sudo lshw -short -class disk | |
| $$$$ sudo lshw -short -class disk -class storage -class volume | |
| $$$$ sudo lshw -class network | |
| $$$$ sudo lshw -html > hardware.html | |
| $ hwinfo --short | |
| $ lspci | |
| $ lspci -v | grep "VGA" -A 12 | |
| $ lsscsi | |
| $ lsblk | |
| $ df -H | |
| $ pydf | |
| $ sudo fdisk -l | |
| $ mount | column -t | |
| $ mount | column -t | grep ext | |
| $ free -m | |
| # display information about the processor/cpu | |
| $ sudo dmidecode -t processor | |
| # memory/ram information | |
| $ sudo dmidecode -t memory | |
| # bios details | |
| $ sudo dmidecode -t bios | |
| # cpu information | |
| $ cat /proc/cpuinfo | |
| # memory information | |
| $ cat /proc/meminfo | |
| $ cat /proc/scsi/scsi | |
| $ cat /proc/partitions | |
| $ sudo hdparm -i /dev/sda | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment