Skip to contentSkip to conversation

/proc/meminfo shows strange values

DISCUSSION ganesh subramonian 1 participant 1 message Mar 8, 2007

lore
Share & tools
lore
#0 lore raw

hi=0A=0A=0A=0Awe are using linuxppc-2.4.20 on one of our embedded systems..= we are monitoring the resource usage in the system with a daemon that reads=
/proc/meminfo every minute...at some points it shows all the parameters me=
mfree,memcached, buffers all as zero...=0A=0Awe are reading the information=
from second line of /proc/meminfo...in another instance it seems that all= these parameters are returned in kilobytes rather in bytes..but in fs/proc=
/proc_misc.c all these parameters are left shifted by 12 before printing...= =0A=0A=0A=0Ais the memory low problem for real?? can some application memor= y leak lead to this situation??=0A=0Aor is the kernel showing incorrect val= ues in meminfo??=0A=0A=0A=0A=0A=0Athanks=0A=0Aganesh=0A=0A=0A=0A=0A=0A=0A= =0A=0A=0A =0A______________________________________________________________= ______________________=0AWe won't tell. Get more on shows you hate to love = =0A(and love to hate): Yahoo! TV's Guilty Pleasures list.=0Ahttp://tv.yahoo= .com/collections/265