/proc/meminfo

Keith Smith techlists at phpcoderusa.com
Thu Mar 19 11:25:43 MST 2015


Thank you everyone who responded. Round up since it does not list kernel 
memory.


On 2015-03-19 13:08, Brian Cluff wrote:
> I've never heard of RAM vendors using Mebibytes instead of Megabytes.
> It doesn't really make any sense.  Vendors use Mebibytes to make they
> storage sound like it's just a little bit bigger than the competition
> and ram sizes are still small enough that it would sound weird if
> someone were to advertise a laptop with weird decimal sizes on the
> ram.
> 
> Brian Cluff
> 
> On 03/19/2015 03:04 AM, Todd Millecam wrote:
>> Not sure if this helps, but there are actually two different measures
>> used for computer storage sizes.  The first is the technical one, 
>> which
>> is abbreviated as kB, mB, and gB, where 1 mB = 1024 kB.
>> The second is actually what marketing uses, and what most components
>> advertise their "space" as, where they round everything down from 1024
>> to 1000, and those are abbreviated KB, MB, and GB.  This is why a 
>> 1.5TB
>> hard drive shows up on your computer as 1.44 tB.  Ram vendors 
>> sometimes
>> do the same thing.
>> 
>> On Thu, Mar 19, 2015 at 2:16 AM, Brian Cluff <brian at snaptek.com
>> <mailto:brian at snaptek.com>> wrote:
>> 
>>     Looks like you have 4 gigs of ram with a video card that uses some
>>     of the system ram as it's video ram.
>> 
>>     Brian Cluff
>> 
>>     On 03/18/2015 04:45 PM, Keith Smith wrote:
>> 
>> 
>>         Hi,
>> 
>>         I'm looking at a server and ran  cat /proc/meminfo  and got:
>> 
>>         MemTotal:        3781692 kB
>> 
>>         I was expecting 2GB or 4GB.
>> 
>>         According to
>>         
>> https://www.centos.org/docs/5/__html/5.1/Deployment_Guide/s2-__proc-meminfo.html
>>         
>> <https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-proc-meminfo.html>
>>         MemTotal is total RAM.  In their example they show:
>> 
>>         MemTotal:       255908 kB
>> 
>>         and say that is 256MB of RAM.
>> 
>>         256MB = 262144KB.  Am I wrong?
>> 
>>         What am I missing?
>> 
>>         Thanks!!
>> 
>> 
>> 
>> 
>>     ------------------------------__---------------------
>>     PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.__org
>>     <mailto:PLUG-discuss at lists.phxlinux.org>
>>     To subscribe, unsubscribe, or to change your mail settings:
>>     http://lists.phxlinux.org/__mailman/listinfo/plug-discuss
>>     <http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>> 
>> 
>> 
>> 
>> --
>> Todd Millecam
>> 
>> 
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

-- 
Keith Smith


More information about the PLUG-discuss mailing list