On 02/08/2013 10:44 PM, Jochen Spieker wrote:
Peter Viskup:
viskup@viskup:~$ awk '/Name|VmSize|VmPeak/' /proc/4186/status
Name: gnome-shell
VmPeak: 3537456 kB
VmSize: 3403068 kB
I am not sure, but I suspect you misinterpret those numbers. This is the
amount of memory that the application thinks is available for itself.
This does not equal the actual memory requirements of the process.
My system currently shows:
$ ps aux | awk '{ print $5 }' | tail -n +2 | awk 'BEGIN {s=0} {s+=$1} END
{print s}'
8206540
$ free -k
total used free shared buffers cached
Mem: 3955268 3346440 608828 0 298128 2139064
-/+ buffers/cache: 909248 3046020
Swap: 0 0 0
The sum of all processes' virtual memory sizes is about nine times the
size of actual memory in use (887 MiB vs. 7.8 GiB with only 4GB of
physical RAM available, no swap).
J.
You are probably right with not best lines shown from status file.
Anyway I saw that gnome-shell consumed more than 1100MB(=approx. 29% of
4GB real mem) for VmRSS. System was swapping and the only application
consuming more than 10% of memory was <?guess?> ;-)
--
Peter
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/511580f7.4010...@gmail.com