So if n processes are sharing a library L with size M then the contribution to their PSS is M/n.
Now imagine one of the process terminates. So the contribution would be M/(n-1).
Q1: My question is how soon is this change reflected in the PSS values of processes still running and using the shared library?
Q2: As a trivial case suppose only two processes are using a shared lib L of size 100K.
The man page for top defines SHR as:
t: SHR -- Shared Mem size (kb) The amount of shared memory used by a
task. It simply reflects memory that could be potentially shared with
other processes.
I can see this growing for one process but I am unsure of what exactly is being reported here.
i am using ubuntu 12.04LTS on my linode vps include core2 cpu, 2gb RAM. I am doing a lot of research on optimizing memory for mysql and apache process -> optimize apache memory use, there i am using two scripts for compute memory per process.
dear all,
kindly i want to check my server memory utilization i used alot of commands but i want to make sure that it is acurate let me explain
i have a server which has 32GB RAM
Total Memory = 33423360 kb
Free Memory = 4172568 kb
Utilized Memory = 29250792 kb
Memory Utilization Percentage = 87.5 %
if Utilized Memory = 29250792 kb how can i make sure which processes eat this amount of memo
On Windows 7 and Windows 2008 SP2, how can I view who or what is using up my memory?
I have a scenario where a server process needs to synchronize its access to shared memory segments with hundreds of client processes.
I'm using cgroups with the memory controller to set a memory limit for each user (using the memory.limit_in_bytes setting).
The problem is that this setting also accounts cache usage. Therefore, if the limit is 1GB, and the user merely downloads or copies a 1GB file, their processes get killed.
I want to have a whole list of all the processes with their memory usage.
I want to sum up the memory usage of similar processes (i.e. processes with the same name or the same father process)
How can I do that, e.g. with command line tools?
Dear All,
I am new to this community and this is my first post. I am facing an issue where the process starts hanging. When I closely look at the logs I come to know that some of the child processes that are forked by the parent process are not finished. Regarding this I have a few questions: