can anyone tell me where the memory is gone:
(no, this time neither buffers nor cache)
# free
total used free shared buffers cached
Mem: 3928200 3868560 59640 0 2888 92924
-/+ buffers/cache: 3772748 155452
Swap: 4192956 226352 3966604
top, sorted by memory, descending:
top - 13:42:06 up 1 day, 3:47, 2 u
i would like to get the value -/+ buffers/cache used who is 212, how can i do this?
i have free -m | grep -i mem | awk '{ print $2 }' for get value of total memory
total used free shared buffers cached
Mem: 7972 1237 6735 0 465 558
-/+ buffers/cache: 212 7760
Swap: 8001 0
In my Ubuntu 11.10 VPS, Before I run the jar file:
# free -m
total used free shared buffers cached
Mem: 256 5 250 0 0 0
-/+ buffers/cache: 5 250
Swap: 0 0 0
Run a jar file that limited to maximum of 32M memory:
java -Xms8m -Xmx32m -jar ./my.jar
Now the memory
we have a server with 8GB, running mysql, 4 java applications and a small postgres db.
I am running Ubuntu 10.04 with the below kernel version
Linux ip-10-0-1-119 2.6.32-343-ec2 #45-Ubuntu SMP Tue Feb 14 18:18:17 UTC 2012 x86_64 GNU/Linux
The memory status shows that the cache is using the maximum share of the RAM.
ubuntu@ip-10-0-1-12:~$ free -m
total used free shared buffers cached
Mem: 7702 7657 44 0
I have two servers, server1 and server2. Both of them are identical HP blades, running the exact same OS (RHEL 5.5).
Standard always running stuff on x86_64 desktop - my i686 netbook running the same stuff is usually about 250MB.Meyithi-PC meyithi ~
$ free -m
total used free shared buffers cached
Mem: 8005 894 7111 0 83 328
-/+ buffers/cache: 481 7524
Swap: 0 0 0
Meyithi-PC meyithi ~
$ ps
OS:Xen Cloud Platform 1.1 (XCP) modified centos, and xen server 5.0 running on intel i5
free -m
total used free shared buffers cached
Mem: 309 136 172 0 1 17
-/+ buffers/cache: 117 191
Swap: 511 7 504
df -h
none 380M 0 380M 0% /de
hi, there are eight cpus (or say cpu treads) in my computer, I have installed fedora 17 (i686), but only one cpu works, why?
see top output below:
Tasks: 248 total, 2 running, 246 sleeping, 0 stopped, 0 zombie
Cpu(s): 16.4%us, 1.3%sy, 0.0%ni, 81.4%id, 0.8%wa, 0.0%hi, 0.0%si, 0.
Mem: 3312468k total, 3114264k used, 198204k free, 3288k buffers
Swap: 5406716k total, 1168360