The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
delete the unused file arunkumar_mca UNIX for Dummies Questions & Answers 3 10-18-2007 06:31 AM
unused storage on AIX 4.3 venerayan AIX 1 10-16-2007 07:10 AM
How do I get the unused space? Spyzic UNIX for Dummies Questions & Answers 1 07-23-2007 02:15 PM
Semaphore Jaken Shell Programming and Scripting 1 05-06-2007 09:17 PM
need script for locked and unused user accounts in /export/home directory krishna176 SUN Solaris 1 03-25-2007 11:45 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2008
Registered User
 

Join Date: Jun 2008
Posts: 27
Question how to clean Unused semaphore??

How can i clean up my unused semaphore???
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-24-2008
Registered User
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 116
Quote:
Originally Posted by abhishek27 View Post
How can i clean up my unused semaphore???
# ipcrm -s <semaphoreid>
Reply With Quote
  #3 (permalink)  
Old 07-25-2008
Registered User
 

Join Date: Jun 2008
Posts: 27
Question

how we can find out the unused semaphore in our system???
Reply With Quote
  #4 (permalink)  
Old 07-25-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,036
Use the "ipcs" command, which lists all IPC facilities on your system: semaphores, shared memory segments, etc.

I'd suggest reading the man page of "ipcs", which is pretty instructive and contains several useful examples of how use the vast array of options ipcs has.

I hope this helps.

bakunin
Reply With Quote
  #5 (permalink)  
Old 4 Weeks Ago
vidyadhar85's Avatar
Registered User
 

Join Date: Jun 2008
Location: PUNE
Posts: 263
you can go for ipcs(interprocess communication facility status) with following option-q to clear queue-m to clear messages-s to clear semaphore
Reply With Quote
Google UNIX.COM
Reply

Tags
ipc handling

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0