How to list processes attached to a shared memory segment in linux?

后端 未结 5 424
轮回少年
轮回少年 2020-12-23 02:30

How do I determine what process is attached to a shared memory segment?

awagner@tree:/home/awagner$ ipcs -m

------ Shared Memory Segments --------
key               


        
5条回答
  •  温柔的废话
    2020-12-23 02:58

    Use ipcs -a: it gives detailed information of all resources [semaphore, shared-memory etc]

    Here is the image of the output:

    image

提交回复
热议问题