Swap Memory or Physical RAM
Derek Broughton
derek at pointerstop.ca
Thu Mar 26 13:01:13 UTC 2009
Kaushal Shriyan wrote:
>
> is there a way to find out the application using swap memory or physical
> ram ?
>
> For Example tomcat server.
There are many ways to find out how much memory an application uses - though
you can't generally get a single, simple, number for something like Tomcat
as it runs multiple threads which may be sharing memory.
> ps aux | egrep "tomcat|MEM"
would be a good start.
If you actually want to know how much of the memory it's using is actually
swapped out, I think that might be impossible.
--
derek
More information about the ubuntu-users
mailing list