08-06-2008
you can go for ipcs(interprocess communication facility status) with following option-q to clear queue-m to clear messages-s to clear semaphore
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
One of my Solaris 8 machines hd was about to die. So I used g4u to create an image of the 9gb drive and I put it in a 36gb drive. That solved my dieing hd problem.
But....
How do I get my machine to see the unused 27gb of space?
Any help would be greatly appreciated. (1 Reply)
Discussion started by: Spyzic
1 Replies
2. AIX
Hi,
How do I query for unused partition in AIX 4.3 with DAS and SAA storage?
I know most unix administrator don't put all the capacity on the system at once.
thanks,
vene (1 Reply)
Discussion started by: venerayan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Can you please let me know how to delete any files that have not been accessed in the past 28 days in a directory.
Thanks,
Arun (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
4. HP-UX
Hello,
I have a system with HP-UX 11.23 installed on it. There are ~36GB of unused space on the HDD. I did a very basic installation, and it created the usual volume group /dev/vg00. When I look at the output of ioscan -funC disk, I see this (and more, but irrelevant to this post):
disk ... (1 Reply)
Discussion started by: goon12
1 Replies
5. Solaris
i Have alloted 20G in my vmware for solaris 10, upon installation, and some distribution of disk space to /,/opt,swap i just use 19G.
Can i still use the 1G? How? how to see the 1G? that i did not use? how can i use it?
appreciate your responce (17 Replies)
Discussion started by: kenshinhimura
17 Replies
6. AIX
Hi,
In our AIX 5.2 server , we have one unused ethernet adapter which doesn't have cable connection . For this interface , we are getting alerts in errpt .
Could you suggesthow to stop this alert ? And sametime i would like to keep this device in ODM .
Is there... (1 Reply)
Discussion started by: sekarsamy
1 Replies
7. AIX
We have a system and we have modified the /etc/ind.conf and the
/etc/services and the /etc/rc.tcpip file to turn off specific applications.
I need to know what is the correct procedure for locking down unused
ports that still appear to be in a listen mode even... (1 Reply)
Discussion started by: admaix
1 Replies
8. Programming
Hello,
When creating shared memory in C, should be remove shared memory with shmctl function when don't need it. If it didn't remove, occupied shared memory stay and remain.
If we create shared memory repeatedly without removing unusable shared memory, /dev/shm will full.
Does Unix or... (1 Reply)
Discussion started by: pronetin
1 Replies
9. UNIX for Advanced & Expert Users
Hi guys...
The first active code line in AudioScope.sh is set -u .
This causes a complete exit if a variable is used/found but has not been allocated at the start of the program.
However, apart from writing code to do the task, is there a switch to to check which variables have been... (17 Replies)
Discussion started by: wisecracker
17 Replies
LEARN ABOUT HPUX
sem_destroy
sem_destroy(2) System Calls Manual sem_destroy(2)
NAME
sem_destroy - destroy an unnamed POSIX semaphore
SYNOPSIS
DESCRIPTION
is used to destroy an unnamed semaphore. A successful call to will invalidate the unnamed semaphore referred to by sem and removes all
descriptors referencing it. The semaphore should have been created by a previous call to and there should not be any processes blocked on
it.
To use this function, link in the realtime library by specifying on the compiler or linker command line.
EXAMPLES
The following call to will destroy an unnamed semaphore referred to by sem and remove all descriptors referencing it.
RETURN VALUE
If the semaphore was destroyed and the descriptors referencing it were removed, returns 0 to the caller.
If the semaphore could not be destroyed, the call returns -1 and sets to indicate the error.
ERRORS
fails and does not perform the requested operation if any of the following conditions are encountered:
[EBUSY] There are threads currently blocked on the semaphore or there are outstanding locks held on the semaphore.
[EINVAL] The argument sem is not a valid unnamed semaphore.
SEE ALSO
sem_init(2), sem_open(2), <semaphore.h>.
STANDARDS CONFORMANCE
sem_destroy(2)