LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 0
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.
 
Old 04-02-2004, 09:29 PM   #2
leonscape
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
rnturn
Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0), SuSE (10.x, 11.x, 12.2), Solaris (8-10), Tru64
Posts: 949

Rep: Reputation: 51
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
 
Old 04-03-2004, 11:19 AM   #4
gremlin2000
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


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


All times are GMT -5. The time now is 06:54 PM.

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