linux command to show memory hardware

# lshw - List Hardware
$ sudo lshw -short
H/W path        Device      Class       Description
===================================================
                            system      ()
/0                          bus         DG35EC
/0/0                        processor   Intel(R) Core(TM)2 Quad CPU    Q8400  @ 2.66GHz
/0/0/1                      memory      2MiB L2 cache
/0/0/3                      memory      32KiB L1 cache
/0/2                        memory      32KiB L1 cache
/0/4                        memory      64KiB BIOS
/0/14                       memory      8GiB System Memory
/0/14/0                     memory      2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)
/0/14/1                     memory      2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)
/0/14/2                     memory      2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)
/0/14/3                     memory      2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)
/0/100                      bridge      82G35 Express DRAM Controller
/0/100/2                    display     82G35 Express Integrated Graphics Controller
/0/100/2.1                  display     82G35 Express Integrated Graphics Controller
/0/100/19       eth0        network     82566DC Gigabit Network Connection
/0/100/1a                   bus         82801H (ICH8 Family) USB UHCI Controller #4
/0/100/1a.1                 bus         82801H (ICH8 Family) USB UHCI Controller #5
/0/100/1a.7                 bus         82801H (ICH8 Family) USB2 EHCI Controller #2
/0/100/1b                   multimedia  82801H (ICH8 Family) HD Audio Controller
/0/100/1c                   bridge      82801H (ICH8 Family) PCI Express Port 1
/0/100/1c.1                 bridge      82801H (ICH8 Family) PCI Express Port 2
/0/100/1c.2                 bridge      82801H (ICH8 Family) PCI Express Port 3
/0/100/1c.2/0               storage     JMB368 IDE controller
/0/100/1d                   bus         82801H (ICH8 Family) USB UHCI Controller #1
/0/100/1d.1                 bus         82801H (ICH8 Family) USB UHCI Controller #2
/0/100/1d.2                 bus         82801H (ICH8 Family) USB UHCI Controller #3
/0/100/1d.7                 bus         82801H (ICH8 Family) USB2 EHCI Controller #1
/0/100/1e                   bridge      82801 PCI Bridge
/0/100/1e/5                 bus         FW322/323 [TrueFire] 1394a Controller
/0/100/1f                   bridge      82801HB/HR (ICH8/R) LPC Interface Controller
/0/100/1f.2                 storage     82801H (ICH8 Family) 4 port SATA Controller [IDE mode]
/0/100/1f.3                 bus         82801H (ICH8 Family) SMBus Controller
/0/100/1f.5                 storage     82801HR/HO/HH (ICH8R/DO/DH) 2 port SATA Controller [IDE m
/0/1            scsi3       storage
/0/1/0.0.0      /dev/sda    disk        500GB ST3500418AS
/0/1/0.0.0/1    /dev/sda1   volume      70GiB Windows NTFS volume
/0/1/0.0.0/2    /dev/sda2   volume      395GiB Extended partition
/0/1/0.0.0/2/5  /dev/sda5   volume      97GiB HPFS/NTFS partition
/0/1/0.0.0/2/6  /dev/sda6   volume      97GiB Linux filesystem partition
/0/1/0.0.0/2/7  /dev/sda7   volume      1952MiB Linux swap / Solaris partition
/0/1/0.0.0/2/8  /dev/sda8   volume      198GiB Linux filesystem partition
/0/3            scsi4       storage
/0/3/0.0.0      /dev/cdrom  disk        DVD RW DRU-190A

0
0

                                    # List RAM Memory Information
lshw -short -C memory

0
0
4
9
Mykey 85 points

                                    # display information about the processor/cpu
$ sudo dmidecode -t processor
# memory/ram information
$ sudo dmidecode -t memory
# bios details
$ sudo dmidecode -t bios

4 (9 Votes)
0
4
2
Jothi Mai 115 points

                                    # List CPU Information
$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 23
Stepping:              10
CPU MHz:               1998.000
BogoMIPS:              5302.48
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              2048K
NUMA node0 CPU(s):     0-3

4 (2 Votes)
0
5
1
IsaacN 80 points

                                    $ pydf
Filesystem Size Used Avail Use%          Mounted on
/dev/sda6   96G  23G   68G 24.4 [#.....] /
/dev/sda8  195G 138G   47G 70.6 [####..] /media/13f35f59-f023-4d98-b06f-9dfaebefd6c1
/dev/sda5   98G  28G   69G 29.2 [##....] /media/4668484A68483B47

5 (1 Votes)
0
3.8
10
Masonross 145 points

                                    # cpu information
$ cat /proc/cpuinfo
# memory information
$ cat /proc/meminfo

3.8 (10 Votes)
0
0
0
Nhgrif 105 points

                                    $ df -H
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6       104G   26G   73G  26% /
none            4.1k     0  4.1k   0% /sys/fs/cgroup
udev            4.2G  4.1k  4.2G   1% /dev
tmpfs           837M  1.6M  835M   1% /run
none            5.3M     0  5.3M   0% /run/lock
none            4.2G   13M  4.2G   1% /run/shm
none            105M   21k  105M   1% /run/user
/dev/sda8       210G  149G   51G  75% /media/13f35f59-f023-4d98-b06f-9dfaebefd6c1
/dev/sda5       105G   31G   75G  30% /media/4668484A68483B47

0
0
0
0
Raye 100 points

                                    $ cat /proc/partitions
major minor  #blocks  name
   8        0  488386584 sda
   8        1   73400953 sda1
   8        2          1 sda2
   8        5  102406311 sda5
   8        6  102406311 sda6
   8        7    1998848 sda7
   8        8  208171008 sda8
  11        0    1048575 sr0

0
0
4.5
4
Karl Anton 110 points

                                    # List PCI Devices on Linux Server
$ lspci
00:00.0 Host bridge: Intel Corporation 82G35 Express DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)
00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA Controller [IDE mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 2 port SATA Controller [IDE mode] (rev 02)
03:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
04:05.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70)

4.5 (4 Votes)
0
4
6

                                    $ cat /proc/version
Linux version 3.11.0-12-generic (buildd@allspice) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu7) ) #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013

4 (6 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
linux check memory hardware how to see memory drive linux linux command to show physical memory see linux terminal memory linux command to display memory information linux command show memory get memory hardware info linux memory hardware details in linux linux show used memory linux command line show memory usage see system memory linux linux command memory hardware info command linux how much available memory a system linux memory info hardware memory linux command line hardware view the hardware configuration in linux linux check hardware configuration ubuntu check hardware specs check pc specs on linux hardware device properties linux how to check the hardware on your computer in linux how to check pc specs on linux linux command line get info about computer debian system info command check hardware linux inspect harware in linux linux command to check hardware configuration linux check hardware get hardware linux hw command linux check device linux command how to check hardware info from linux get pc infos linux ubuntu hardware list get hardware details linux how to check the specs on linux server linux pc info cmd linux pc info comd ubuntu get hardware info command line get hardware information linux linux commands to check specs of linux command line view computer specs linux get hardware specs linux how to check linux hardware details system information ubuntu terminal linux command to check hardware status linux hardware info file how to check hardware spec in linux command to see computer specs in linux check system specs linux check hardware info linux ubuntu terminal get information about the system how to get device specs linux linux spc stats command terminal linux command pc stats debian get system specs linux systerm info linux command for system config hardware and connection properties linux. how to discover hardwares linux how to see hardware information linux list hardware devices linux linux show hardware specs how to see computer specs linux check specs linux debian hardware info linux find system spec ubuntu hardware info command line ubuntu computer specs command line command on linux to check ram ubuntu server commands system info device information in linux show all hardware linux linux cli for hardware management linux get system specs how to check system specification in kali linux how to know hardware information in linux linux hardware information commands linux system info command view specs linux command view specs linux comnmand how to check hardware components list in linux ubuntu terminal show hardware info linux system check commands get specs of computer linux finde periferals linux command system spec list linux command check system specs in linx check system specs in linux linux ram hardware info which directory you can find live information about CPU how to see server specs in linux list all peripheral devices linux where can i look linux specification hardware stats linux how to view what your hardware spec are in linux. view specs of linux terminal view specs of linux linux get computer specs terminal linux command hardware info how to check specs on linux linux view machine specs terminal linux specs from cli centos 7 get hardware info ubuntu hardware cli centos 7 show device information linux pc info command show hardware info linux ubuntu see hardware specs linux see hardware specs linux get machine specs hardware information command in centos hardware information command in linux list hardware linux get hardware info linux centos linux show specification in terminal check devices ubuntu linux terminal information ubuntu hardware info command linux terminal to chekc computer specs linex get hardware information linux how to get specs system info command linux linux check computer specs how to get hardware information in ubuntu using terminal linux command for information how to find specs in linux linux system info commands how to see your pc specs on linux ubuntu check hardware specs command line system information command linux linux show hardware resources get hardware info linux linux show hardware memory pc specs linux command centos check hardware info see specs linux hardware info in linux information about hardware linux check spec in linux linux computer specs command centos show hardware info computer specs command linux system specs command linux show hardware linux view other hardware ubunbu check machine specs linux linux show device specs linux check specs linux show pc specs linux get hardware specifications get hardware id linux get hardware info linux command system spec command linux ubuntu centos 7 view hardware info centos view hardware info linux find machine specs system information in linux hardware info ubuntu command line ubuntu know hardware command line ubuntu check hardware best command to get all system stats linux cli linux command to check system information linux hardware info cli Check system specs Linux Terminal linux hardware info command linux command for system info how to check your specs on Linux linux specs command linux show info linux check computer spec linux check specification system information linux command system info linux linux how to check hardware spec how to find out hardware info linux get pc hardware info linux get pc hardware info ubutntu get device info of linux hardware info linux terminal linux machine info command system info linux command how to see pc specs from terminal in linux linux view system specs how to check hardware resources linux linux show machine linux hardware info linux check hardware info how to check hardware linux linux how to check if hardware is installed linux how to check system specs bash command for hardware ubuntu show all hardware info
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source