On Sun 24 Jan 2010 at 09:42:59 PST Premysl Hruby wrote:
>
>Btw, There's one issue with trying to get size of process -- shared
>memory. To which process should it count? And how? Or count only
>fraction for each of process using that shared memory ... Not easy. :-)
If the shared library really is shared -- i.e., used by two or more
programs that you are actually running -- then you can treat it as if it
were part of the operating system.
But in practice many so-called shared libraries aren't actually shared.
If you never run more than one program that uses it, then you should
count the library as part of that program.
Many of the shared libraries circulating in the open source world are
what I call vanity libraries. Their authors would like to think they're
getting more widespread use, but in truth no one uses them but
themselves.
Received on Sun Jan 24 2010 - 21:07:14 UTC
This archive was generated by hypermail 2.2.0 : Sun Jan 24 2010 - 21:24:02 UTC