Sponsored Content
Operating Systems AIX how to clean Unused semaphore?? Post 302222032 by vidyadhar85 on Wednesday 6th of August 2008 12:27:42 AM
Old 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

How do I get the unused space?

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

unused storage on AIX 4.3

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

delete the unused file

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

HP-UX using unused HDD space

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

unused disk space

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

Temporarily disabling unused ethernet adapter

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

locking down unused or unwanted ports in 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

What Unix do with unused shared memory?

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

Detecting unused variables...

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
pipcs(1)						      General Commands Manual							  pipcs(1)

NAME
pipcs - report status of POSIX interprocess communication facilities SYNOPSIS
qname]] DESCRIPTION
displays certain information on active POSIX interprocess communication facilities. When no options are specified, displays information in short format for the POSIX message queues and POSIX named semaphores that are currently active in the system. Options The following options restrict the display to the corresponding facilities. (none) This is equivalent to Display details for the POSIX message queue specified in the qname argument. Display the list of processes and users using the POSIX message queues. Display information on active POSIX message queues. Display information on active POSIX named semaphores. Display the creation time and last modification time of the POSIX message queues. The options, and can be used only with the option. The options and are mutually exclusive. The following options add columns of data to the display. See "Column Description" below. (none) Display default columns: for all facilities: Display all columns, as appropriate. This is equivalent to Display largest-allowable-size information: for POSIX message queues: Display information on outstanding usage: for POSIX message queues: for POSIX named semaphores: Column Descriptions The column headings and the meaning of the columns in an listing are given below. The columns are printed from left to right in the order shown below. Facility type: POSIX message queue POSIX named semaphore The facility access modes and flags. The mode consists of nine characters that are interpreted as three sets of three characters each. The first set refers to the owner's permissions, the next to permissions of others in the group of the facility entry, and the last to all others. Within each set, the first character indicates permission to read, the second character indicates permission to write or alter the facility entry, and the last character is currently unused. Read permission is granted. Write permission is granted. Alter permission is granted. The indicated permission is not granted. The login name of the owner of the facility entry. The group name of the group of the owner of the facility entry. The reference count value of the facility entry. Reference count of the POSIX message queue represents number of simultaneous open for the associated one. Similarly reference count of the POSIX named semaphore represents number of process referencing the associated one. The name of the facility entry. The number of messages currently outstanding on the associated POSIX message queue. The maximum number of messages allowed on the associated POSIX message queue. The maximum number of bytes allowed in messages outstanding on the associated POSIX message queue. The current value on the associated POSIX named semaphore. The initial value hold on the associated POSIX named semaphore. WARNINGS
produces only an approximate indication of actual system status because system processes are continually changing while is acquiring the requested information. Do not rely on the exact field widths and spacing of the output, as these will vary depending on the system, the release of HP-UX, and the data to be displayed. EXAMPLES
List the processes and users using the POSIX message queues. Note that "None" is displayed if there are no processes using the POSIX mes- sage queue. pipcs -qP /mq/0 : 1234457645 (root) 5433483354 (vts) /mq/1 : None /mq/2 : 8344835378 (user1) List the processes and users using the POSIX message queue pipcs -qP -N /mq/2 /mq/2 : 8344835378 (user1) List the creation time and last modification time of the POSIX message queues. Ctime denotes creation time and Ltime denotes last modifi- cation time. pipcs -qT /mq/0 : Ctime : Mon Feb 4 05:06:40 PST 2006 Ltime : Mon Feb 6 11:06:40 PST 2006 /mq/abcd : Ctime : Mon Feb 2 03:06:40 PST 2006 Ltime : Mon Feb 5 03:06:40 PST 2006 List the creation time and last modification time of the POSIX message queue pipcs -qT -N /mq/0 /mq/0 : Ctime : Mon Feb 4 05:06:40 PST 2006 Ltime : Mon Feb 6 11:06:40 PST 2006 FILES
Group names User names SEE ALSO
pipcrm(1), mq_close(2), mq_open(2), mq_receive(2), mq_send(2), mq_unlink(2), sem_close(2), sem_open(2), sem_post(2), sem_unlink(2), sem_wait(2). pipcs(1)
All times are GMT -4. The time now is 09:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy