LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 09-22-2006, 02:10 AM   #1
black_man
LQ Newbie
 
Registered: May 2003
Location: Iasi, Romania
Distribution: debian
Posts: 27

Rep: Reputation: 15
shared memory & semaphores


hi !

i maintain a coupple of solaris workstations on which some users connect remotely and use a graphical application.

the problem is that, after closing the application, the ipcs command shows some shared memory segments not associated with any existing process. also, some semaphores. in the case of the segments, i remove the orphan ones.

the output from ipcs shows the pid of the process that created the segment and the one that last accessed it. in the case of the semaphores, there is no such information.

how can i know which semaphore is orphan in order to remove it ?

thanks !
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 10:57 AM
Shared Memory/ Semaphores wildem Programming 3 06-20-2005 02:13 PM
Posix file based process shared semaphores dragonman Programming 9 05-25-2005 05:44 PM
About Shared Memory...? aegis_shiva Programming 1 08-25-2004 06:05 AM
shared memory and semaphores... socket9001 Programming 3 02-16-2004 12:18 PM


All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
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