How to find a process using the ipcs shared memory segment

Solution Verified - Updated -

Issue

  • How can I find a process using the ipcs shared memory segment?
  • I want to know which process id is using below oracle shared memory segment ?
# ipcs -m 
------ Shared Memory Segments --------
key        shmid      owner    perms      bytes      nattch     status      
0x5500052f 0          root      644       124064     1          locked
0x2f058004 32769      root      777       1024       1                       
0x610a8013 163842     root      666       4032       2                       
0x660a8013 270696451  root      666       82252      1                       
0x0000cace 8912900    root      666       2          0                       
0xc671a96c 260702213  oracle    600       899678208  29                      

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.