Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-02-2004, 07:52 PM   #1
LQ Newbie
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
Identify a shared memory segment

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?

Old 04-02-2004, 09:29 PM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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 ).
Old 04-02-2004, 11:58 PM   #3
Senior Member
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,137

Rep: Reputation: 65
Re: Identify a shared memory segment

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...

Old 04-03-2004, 11:19 AM   #4
LQ Newbie
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to identify memory leak in loadable kernel module appas Programming 3 06-05-2012 09:56 AM
Purify: MSE: memory segment error Louka Linux - Software 0 11-28-2005 04:14 PM
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 09:57 AM
Creating Ora10g database on FC2 gives unable to create shared memory segment.... deanbrown3d Linux - Software 1 10-23-2004 11:40 AM
shared memory socket9001 Programming 4 02-06-2004 02:08 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration