Impressions of Gutsy (Was: First impressions of dolphin)
Steve Lamb
grey at dmiyu.org
Tue Oct 9 17:32:47 UTC 2007
Derek Broughton wrote:
> I give up. That is NOT solely owned by that task, RSS or FSZ. ANY memory
> can be shared.
Well, one of us is right and one of us is wrong. No reason to give up
since this is something that can be empirically proven. It's a simple
matter of setting up a proper test to convince the other person. Such
as this:
[lambs at Nagios]~% free ; ps aux | grep zsh ; kill -9 5396 ; sleep 1 ; ps aux
| grep zsh ; free
total used free shared buffers cached
Mem: 514652 459124 55528 0 134096 162412
-/+ buffers/cache: 162616 352036
Swap: 2040244 104 2040140
grey 5371 0.1 0.3 5436 2012 pts/1 Ss 10:25 0:00 -zsh
grey 5396 0.0 0.4 5444 2064 pts/2 Ss+ 10:25 0:00 /bin/zsh
grey 5421 0.0 0.4 5448 2084 pts/4 Ss 10:25 0:00 /bin/zsh
grey 5750 0.0 0.1 3916 720 pts/4 S+ 10:27 0:00 grep zsh
grey 5371 0.1 0.3 5436 2012 pts/1 Ss 10:25 0:00 -zsh
grey 5421 0.0 0.4 5448 2084 pts/4 Ss 10:25 0:00 /bin/zsh
grey 5754 0.0 0.1 3916 684 pts/4 S+ 10:27 0:00 grep zsh
total used free shared buffers cached
Mem: 514652 458504 56148 0 134096 162432
-/+ buffers/cache: 161976 352676
Swap: 2040244 104 2040140
Killing off one of the zsh processes with an RSS of 2064 changed the
free RAM (+buffers) from 352036 to 352676 for a change of 640kb instead
of the anticipated 2064kb. You're right. See? Painless.
--
Steve Lamb
More information about the kubuntu-users
mailing list