I have IBM server with 16 GB RAM installed. Initially it showed 16 GB with
free | grep Mem | awk '{print $2}'
but now it shows only
8116136
but it must show
16439208
When I do
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
so what can be the issue. Its a physical Server.
also with
dmidecode -t 17 | awk '( /Size/ && $2 ~ /^[0-9]+$/ ) { x+=$2 } END{ print "\t" "Installed Ram: " x "MB"}'
this command i get following:
Installed Ram: 16384MB
I am really stuck with this can you guys help me out.
Also top command shows following:
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
EDIT
free -m
gives me following
total used free shared buffers cached
Mem: 7925 1372 6553 0 164 454
-/+ buffers/cache: 753 7172
Swap: 8031 0 8031
uname -a gives me following
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
the file grub.conf
contains
# 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