Eu tenho um servidor IBM com 16 GB de RAM instalado. Inicialmente mostrou 16 GB com
free | grep Mem | awk '{print $2}'
mas agora só mostra
8116136
mas deve mostrar
16439208
Quando faço
dmidecode -t 17 | grep Size
Size: 8192 MB
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: 8192 MB
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
então, qual pode ser o problema. É um servidor físico.
também com
dmidecode -t 17 | awk '( /Size/ && $2 ~ /^[0-9]+$/ ) { x+=$2 } END{ print "\t" "Installed Ram: " x "MB"}'
este comando eu recebo seguindo:
Installed Ram: 16384MB
Estou realmente preso a isso, vocês podem me ajudar.
O comando top também mostra o seguinte:
top - 13:05:13 up 22:52, 1 user, load average: 0.23, 0.30, 0.27
Tasks: 631 total, 2 running, 629 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1%us, 1.2%sy, 1.0%ni, 97.6%id, 0.0%wa, 0.1%hi, 0.0%si, 0.0%st
Mem: 8116136k total, 1402980k used, 6713156k free, 164576k buffers
Swap: 8224760k total, 0k used, 8224760k free, 457856k cached
EDITAR
free -m
me dá o seguinte
total used free shared buffers cached
Mem: 7925 1372 6553 0 164 454
-/+ buffers/cache: 753 7172
Swap: 8031 0 8031
uname -a me segue depois
Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
o arquivo grub.conf
contém
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_livecd-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-358.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/vg_livecd-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_livecd/lv_swap rd_NO_MD rd_LVM_LV=vg_livecd/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=8128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-358.el6.x86_64.img