FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-02-2010, 05:17 PM
Tech Geek
 
Default Incorrect reporting of memory installed on system by "free"?

So I know my system has 2 GB Memory.
*
debian:~# uname -a
Linux debian 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64 GNU/Linux
*
debian:~# cat /proc/meminfo
MemTotal:***** 2063496 kB
MemFree:******** 30268 kB
Buffers:******* 396792 kB
Cached:******** 744344 kB
SwapCached:***** 29612 kB
Active:******** 975684 kB
Inactive:****** 765796 kB

SwapTotal:**** 3903752 kB
SwapFree:***** 3845308 kB
Dirty:************ 152 kB
Writeback:********** 0 kB
AnonPages:***** 594968 kB
Mapped:********* 86052 kB
Slab:********** 233896 kB
SReclaimable:** 218740 kB

SUnreclaim:***** 15156 kB
PageTables:***** 20944 kB
NFS_Unstable:******* 0 kB
Bounce:************* 0 kB
WritebackTmp:******* 0 kB
CommitLimit:** 4935500 kB
Committed_AS:* 1117064 kB
VmallocTotal: 34359738367 kB

VmallocUsed:*** 178456 kB
VmallocChunk: 34359559163 kB
HugePages_Total:**** 0
HugePages_Free:***** 0
HugePages_Rsvd:***** 0
HugePages_Surp:***** 0
Hugepagesize:**** 2048 kB
debian:~#
*

debian:~# free -k
************ total****** used****** free**** shared*** buffers**** cached
Mem:****** 2063496*** 2033428***** 30068********* 0**** 396828**** 744344
-/+ buffers/cache:**** 892256*** 1171240

Swap:***** 3903752***** 58444*** 3845308

debian:~# free -m
************ total****** used****** free**** shared*** buffers**** cached
Mem:********* 2015****** 1985******** 29********* 0******* 387******* 726
-/+ buffers/cache:******* 871****** 1143

Swap:******** 3812******** 57****** 3755

So far everything looks good. However when I try to report the memory in GBs, I get:
*

debian:~# free -g
************ total****** used****** free**** shared*** buffers**** cached
Mem:************ 1********* 1********* 0********* 0********* 0********* 0
-/+ buffers/cache:********* 0********* 1

Swap:*********** 3********* 0********* 3

It just shows that there is just 1 GB of memory installed in total. Am I missing something? Should I file a bug report?
*
Thanks
*
*
 

Thread Tools




All times are GMT. The time now is 12:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org