looking at /proc/meminfo, I can see the total amount of unevictable and mlocked memory on the system:

Unevictable:    23265536 kB
Mlocked:        23265536 kB

How do I determine which processes are responsible for this unevictable memory?


/proc/[pid]/status shows how much is locked by mlock(), and the command ipcs shows how much is locked via shared memory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.