Re: Applet Memory Usage



>   PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
>  4473 itp        0   0  4348 4348  3376 S       0  0.0  1.6   0:00 gnomeicu
>  4471 itp        1   0  3824 3824  3016 S       0  0.1  1.4   0:00 tasklist_app
>  4469 itp        0   0  3480 3480  2752 S       0  0.0  1.3   0:00 deskguide_ap
>
> Time to learn about shared memory, my friend.  A quick and fairly
> accurate estimate of memory usage is RSS-SHARE.  So my gnomeicu uses
> 4348-3376=972, my tasklist 3824-3016=808, and my deskguide
> 3480-2752=726.

I suspected as much (as I've told some of the other respondants).  Is there a way
to get gtop to just show the memory being used minus the shared memory?  It
reports that user-space applications take up like 75 MB of memory which I know is
untrue, and I don't feel like looking at it, then pulling up the calculator and
tallying it all up and such... I just wanna see the apps themselves.

BTW, what's the difference between  SIZE and RSS?  I noticed a few applications
showed differences of like 10K in gtop (that being netscape and its required
ld-linux.so) between Total Size and Residant Size (what I assume RSS to be).

Sean Middleditch





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]