how do i find out how much ram my box has
Hello everyone,
I have a quick question for you all. On Windows, I can right click on my computer > properites and see how much ram a pc has. How would i find out how much ram my pc has on linux? I am running Fedora Core 2. Thank |
try
Code:
free |
oh, should have specified. that is a command. issue it from a console.
|
That is the output of free -m
Code:
total used free shared buffers cached as you can see on the Swap output is says 383 is that the total of ram in the pc Thanks |
Just a thought, but when you turn on your computer, doesn't it tell you how much RAM you have?
|
Hi,
All your memory related details will be inside in the file /proc/meminfo. Please issue this command in the shell prompt. #cat /proc/meminfo Regards Novel |
Quote:
I think your free -m output shows 187mB of system RAM* so it looks like something is wrong somewhere if you are sure about the memory sticks you have installed. mark * I could be wrong about this so perhaps wait for a more experienced poster to comment before doing anything drastic :) |
this is the output of cat/proc/meminfo
[root@localhost root]# cat /proc/meminfo MemTotal: 192084 kB MemFree: 2344 kB Buffers: 10256 kB Cached: 72144 kB SwapCached: 0 kB Active: 133784 kB Inactive: 28640 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 192084 kB LowFree: 2344 kB SwapTotal: 393112 kB SwapFree: 393112 kB Dirty: 100 kB Writeback: 0 kB Mapped: 119656 kB Slab: 13712 kB Committed_AS: 243000 kB PageTables: 2276 kB VmallocTotal: 3940344 kB VmallocUsed: 4804 kB VmallocChunk: 3935444 kB HugePages_Total: 0 HugePages_Free: 0 Hugepagesize: 4096 kB [root@localhost root]# Can you tell me what line is my ram according to my calculations i should have 384 of ram |
The MemTotal line indicates how much RAM you have (in kilobytes). From what your system is telling you, either:[list=1][*]Something is wrong with your memory[*]You actually have a 128 MB stick and a 64 MB stick (128 + 64 = 192)[/list=1]
I would doubt #1 because if the memory was bad or failing, then your computer would crash and burn all the time. In addition to that, memory sticks are not sold as 192 MB in size. What I'm getting at by that is, if one of your sticks was bad (as in completely broken/dead),the computer would only see one memory stick and report its capacity. So, since 192 is not a standard memory size, the computer sees and recognizes more than one memory stick. So if you are positive you have two (and only two) memory sticks in the machine, then the computer is seeing and recognizing both. I would bet lots of money that it's just a case of mistaken capacity and that you actually have a 128 MB and a 64 MB stick. If you're dual booting with Windows, and Windows reports something else, make sure that number doesn't include virtual memory or anything along those lines. |
All times are GMT -5. The time now is 01:03 AM. |