Skip to content

Instantly share code, notes, and snippets.

@bafflingscience
Created November 8, 2019 03:21
Show Gist options
  • Save bafflingscience/2ae43f4bc0772720cc095cfe28e91dfb to your computer and use it in GitHub Desktop.
Save bafflingscience/2ae43f4bc0772720cc095cfe28e91dfb to your computer and use it in GitHub Desktop.

Revisions

  1. bafflingscience created this gist Nov 8, 2019.
    37 changes: 37 additions & 0 deletions TerminalViewHardware.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    <!-- these snippets are the property of the great and mighty Business Company Corporation 2019-->

    # Quickly View Memory Details to upgrade RAM

    ## Use `lshw` to View a Graphical Interface with of your System's Components

    ```bash
    sudo lshw -X
    ```
    For a less detailed view, just skip the `sudo`

    **Install dmidecode:**
    ```bash
    $ sudo apt install dmidecode
    ```

    **View a summary memory details:**
    ```bash
    $ sudo dmidecode -t memory
    ```

    **View maximum supported RAM by your system?**
    ```bash
    $ sudo dmidecode -t 16
    ```

    **Check the currently installed RAM size:**
    ```bash
    $ sudo dmidecode -t 17
    ```

    **View complete System Hardware details:**
    ```bash
    $sudo dmidecode
    ```
    Dmidecode info acquired from here:
    https://www.ostechnix.com/how-to-find-out-maximum-supported-ram-in-linux/