pgm memory usage
Rashkae
ubuntu at tigershaunt.com
Fri Nov 5 01:56:57 UTC 2010
On 10-11-04 09:18 PM, rikona wrote:
> I have about 10 copies of konq open on all the desktops. Three of them
> are using about 30% of memory. They are all being used to see dir
> listings - none are on the net. Also have 10 'opera' browsers running,
> using 50+% of mem, and I'm getting swap issues[~80-90% of swap is
> used]. Switching pgms is quite slow. Is there a way to tell which
> copies, **in the GUI**, are using how much memory, or, alternatively,
> can I get the PID for a *particular* pgm in the GUI?
>
> thanks,
>
> rikona
>
I'm afraid that when you are dealing with a shared Library / Shared
Memory / demand paging Operting system (like any of the modern desktop
OS's), determining memory usage of individual windows is close to
impossible. It's doable, but it's a very black art, and certainly not
something that can be done from within a GUI.
However, for the purpose of troubleshooting Memory starvation issues,
here is my favorite 'trick,'. It doesn't give you scientific
measurements, but will point you in the direction you want to solve your
workload issues.
Issue command in a terminal window:
cat /proc/meminfo | grep Commited
that should show you your "Committed_AS" value. This is what you want
to reduce, ideally, for best performance, you want this to be less than
your physical ram, though that's not always possible on low memory systems.
Try closing some windows, and check the command again at each one. I
think you'll find that the Konq windows take up very little (unless you
close all of them)
More information about the ubuntu-users
mailing list