Choose style:

Author Topic: Total amount of Memory Question [RESOLVED]  (Read 1116 times)

0 Members and 1 Guest are viewing this topic.

Offline grafiksinc

  • Member
  • ***
  • Posts: 268
  • Karma: 26
    • View Profile
  • Peppermint version(s): --Debian--
Total amount of Memory Question [RESOLVED]
« on: February 23, 2018, 05:02:30 am »
Hello forum.

I ran this command inxi -Fz in terminal
And it gives system info.
This is P8 respin2

the part that is confusing me is this:
Memory: 667.7/14970.6MB

I have 16Gb memory in the system.

is that correct? :-\
 --Thanks
« Last Edit: February 23, 2018, 09:30:30 am by grafiksinc »

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5562
  • Karma: 990
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Memory Question
« Reply #1 on: February 23, 2018, 06:00:10 am »
How much RAM does your BIOS report, in the system information section?







Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1838
  • Karma: 265
    • View Profile
Re: Memory Question
« Reply #2 on: February 23, 2018, 06:37:42 am »
In addition to the above...
Run:
Code: [Select]
free -m
Alternative, install screenfetch or neofetch and issue one of those commands.
« Last Edit: February 23, 2018, 06:41:05 am by pin »

Offline grafiksinc

  • Member
  • ***
  • Posts: 268
  • Karma: 26
    • View Profile
  • Peppermint version(s): --Debian--
Re: Memory Question
« Reply #3 on: February 23, 2018, 06:58:13 am »
VinDsl - BIOS shows 16384

Pin - the results are:
Code: [Select]
              total        used        free      shared  buff/cache   available
Mem:          14970         617       13782          45         571       14019
Swap:         11200   

Just want to add that the PC is running fine... no problem I just noticed the memory looked a bit off. :-\
« Last Edit: February 23, 2018, 07:09:44 am by grafiksinc »

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1838
  • Karma: 265
    • View Profile
Re: Memory Question
« Reply #4 on: February 23, 2018, 07:08:30 am »
Yeap! You do have 16GB of RAM

EDIT: Why do you say it's a bit off?
EDIT 2: I'm supposed to have 8GB on this machine and yet
Code: [Select]
free -m
              total        used        free      shared  buff/cache   available
Mem:           7863         119        7567          38         176        7503
Swap:          5999           0        5999

It'a bit like my SSD that it's labeled 120GB, but in reality it's 112GB  ;)
« Last Edit: February 23, 2018, 07:44:43 am by pin »

Offline grafiksinc

  • Member
  • ***
  • Posts: 268
  • Karma: 26
    • View Profile
  • Peppermint version(s): --Debian--
Re: Memory Question
« Reply #5 on: February 23, 2018, 08:16:12 am »
It's the total that is confusing me. I was thinking it would be 16384.
I guess what you  are saying though what I see is normal right?






Online murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2038
  • Karma: 356
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Memory Question
« Reply #6 on: February 23, 2018, 08:43:04 am »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Memory Question
« Reply #7 on: February 23, 2018, 08:53:43 am »
Yes it's correct .. inxi is getting it's info from process information such as that at /proc/meminfo, it's  reporting 'currently used' and 'total available' memory .. you have to bear in mind that 'available' memory is NOT the same as 'installed' memory because it's ignoring memory space unavailable to the system such as that used by the BIOS,  firmware, and anything else that MUST stay resident or reserved.

If you want the total installed memory:
Code: [Select]
cat /proc/meminfo | grep MemTotal
If you want the total available memory:
Code: [Select]
cat /proc/meminfo | grep MemAvailable
if you want the free memory
Code: [Select]
cat /proc/meminfo | grep MemFree
or if you want to see ALL memory information (held in the meminfo process):
Code: [Select]
cat /proc/meminfo

[EDIT]

As for the output from
Code: [Select]
free -m
see murraymint's link (above) which explains what the "-m" option is doing (ie. using 1024 bytes to define a kilobyte as opposed to 1000)

or use free without the -m option .. as in
Code: [Select]
free
« Last Edit: February 23, 2018, 09:32:19 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline grafiksinc

  • Member
  • ***
  • Posts: 268
  • Karma: 26
    • View Profile
  • Peppermint version(s): --Debian--
Re: Memory Question
« Reply #8 on: February 23, 2018, 09:29:57 am »
Thanks guys much appreciated

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5562
  • Karma: 990
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Memory Question
« Reply #9 on: February 23, 2018, 08:09:45 pm »
If you want the total installed memory:
Code: [Select]
cat /proc/meminfo | grep MemTotal

Interesting.

I thought I had 16GB RAM installed. Evidently, I have 16.379836  ;D

Code: [Select]
╭─vindsl@Boogaloo-5 ~  
╰─➤  cat /proc/meminfo | grep MemTotal
MemTotal:       16379836 kB

EDIT


Pretty dern close according to 'free -m'

Code: [Select]
╭─vindsl@Boogaloo-5 ~  
╰─➤  free -m                         
              total        used        free      shared  buff/cache   available
Mem:          15995        2317       11649         209        2028       13514
Swap:          1023           0        1023
« Last Edit: February 23, 2018, 08:12:28 pm by VinDSL, Reason: Addendum »

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5562
  • Karma: 990
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Total amount of Memory Question [RESOLVED]
« Reply #10 on: February 23, 2018, 08:29:03 pm »
I ran this command inxi -Fz in terminal [...]

Memory: 667.7/14970.6MB

It's the total that is confusing me. I was thinking it would be 16384.

It's confusing me, now ...  :-\

Here's mine:

Quote
╭─vindsl@Boogaloo-5 ~ 
╰─➤  inxi -Fz
System:    Host: Boogaloo-5 Kernel: 4.15.5-041505-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   System: Dell product: OptiPlex 7010 v: 01
           Mobo: Dell model: 0GXM1W v: A02 Bios: Dell v: A25 date: 05/10/2017
CPU:       Quad core Intel Core i5-3470 (-MCP-) cache: 6144 KB
           clock speeds: max: 3600 MHz 1: 2316 MHz 2: 1994 MHz 3: 1981 MHz
           4: 1992 MHz
Graphics:  Card: NVIDIA GK208 [GeForce GT 710B]
           Display Server: X.Org 1.19.5 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz, 2560x1080@60.00hz
           GLX Renderer: GeForce GT 710/PCIe/SSE2
           GLX Version: 4.6.0 NVIDIA 390.25
Audio:     Card-1 Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel
           Card-2 NVIDIA GK208 HDMI/DP Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.5-041505-generic
Network:   Card: Intel 82579LM Gigabit Network Connection driver: e1000e
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1250.3GB (11.7% used)
           ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB
           ID-2: /dev/sdb model: HGST_HTS721010A9 size: 1000.2GB
Partition: ID-1: / size: 20G used: 9.1G (49%) fs: ext4 dev: /dev/sda5
           ID-2: /home size: 30G used: 13G (44%) fs: ext4 dev: /dev/sda6
           ID-3: swap-1 size: 0.54GB used: 0.00GB (0%) fs: swap dev: /dev/sda10
           ID-4: swap-2 size: 0.54GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 58C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 200 Uptime: 3:20 Memory: 2511.1/15995.9MB
           Client: Shell (zsh) inxi: 2.2.35