LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Identify a shared memory segment (https://www.linuxquestions.org/questions/linux-general-1/identify-a-shared-memory-segment-165545/)

gremlin2000 04-02-2004 07:52 PM

Identify a shared memory segment
 
Hello,
I wasn't sure if this should go in the newbie forum, forgive me if this is the wrong forum. I have not cross posted.
I am running Suse 9.0 and I am seeing a shared memory segment being setup belonging to the user I log in as when I log in. If I su to root a new one is created owned by root. I cannot remove them using ipcrm. Does anybody know what it might be? How can I identify which process created the segment?

Regards,
Gremlin.

leonscape 04-02-2004 09:29 PM

Go into a console and as root type top. This will usually show whats using how much memory. ( Shared libs can get counted multiple times so top isn't completley reliable ).

rnturn 04-02-2004 11:58 PM

Re: Identify a shared memory segment
 
Quote:

How can I identify which process created the segment?
Have you tried the "-p" switch of "ipcs"? It should include the process IDs. You want to look for the "cpid" column.

Hope this helps...

Cheers,
Rick

gremlin2000 04-03-2004 11:19 AM

Hello,

ipcs -p shows that it is the suseplugger process creating the memory ( I must learn to read the man pages more carefully :-) ). Thanks for the help.

Regards,
Gremlin.


All times are GMT -5. The time now is 09:57 AM.