Sponsored Content
Full Discussion: Identifying Semaphore Owners
Operating Systems AIX Identifying Semaphore Owners Post 302075221 by backslash on Wednesday 31st of May 2006 04:42:54 PM
Old 05-31-2006
Identifying Semaphore Owners

Hi,

I have an AIX server which has a number of root owned semaphores. Is there a way of identifying which processes/threads own these processes so that they can be removed.

I there also a way to remove shared memory segments in a similar way

Thanks.
\
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

semaphore

hi, is there any command where we can monitor semaphores? (1 Reply)
Discussion started by: yls177
1 Replies

2. UNIX for Dummies Questions & Answers

Semaphore

Hi, I'm new to UNIX. I need to know what's a semaphore Do reply. Thanks VJ (3 Replies)
Discussion started by: vjsony
3 Replies

3. Solaris

Need help from E280R owners

Hello, I have recently aquired an E280R chassis, that is one of the first E280R chassis so it still features old fan block from 420R (540-4434). Unfortunately I have 900Mhz X7009A CPUs to go into this machine and those need a better fan block (540-5088) because they do overheat :(. Could... (2 Replies)
Discussion started by: Don.Key
2 Replies

4. Shell Programming and Scripting

Semaphore

Hi, I am looking to use a semaphore for the first time in one of my scripts. I am just wondering if there are any simple examples or tutorials around? I am a beginner so the simpler the better :) Thanks -Jaken (2 Replies)
Discussion started by: Jaken
2 Replies

5. Shell Programming and Scripting

semaphore

Control two exclusively shared resources(semaphore). The two resources are two files. The producer will write even numbers to one file, and odd numbers to another one. The consumer respectively reads from each file until it gets 5 even numbers and 5 odd numbers. Can any one help me with the... (0 Replies)
Discussion started by: gokult
0 Replies

6. Programming

Semaphore

If I create a semaphore and then I fork a number of child processes then all the child process use that same semaphore. Since the process address spaces are different rfom each other then how all the child process are able to access the same semaphore? I understand that semaphore/mutex is at os... (0 Replies)
Discussion started by: rupeshkp728
0 Replies

7. Solaris

Semaphore

Can anyone tell me abt the Semaphore concept and what is semaphore??? is semaphore id is associated in terms as in resources like semaphore id 1 indicates cpu share unit is given and semaphore id 2 will indicate abt the memore or semaphore id 3 will tell us the i/o components (1 Reply)
Discussion started by: aarjun07
1 Replies

8. Shell Programming and Scripting

Find only files/directories with different permissions/owners

My git post-update has the following lines in it to make sure the permissions are set right: find /usr/local/apache/htdocs -type d -print0 | xargs -0 chmod 755 find /usr/local/apache/htdocs -type f -print0 | xargs -0 chmod 644 chown -R apache:apache /usr/local/apache/htdocsThe only problem is... (5 Replies)
Discussion started by: dheian
5 Replies

9. UNIX for Dummies Questions & Answers

Awk/script to list the owners of files

I have to list the files in a directory and along with that, list the owner of each of those files. Can someone please help me with a way to get this info please? Gayathri (2 Replies)
Discussion started by: ggayathri
2 Replies

10. HP-UX

Script execution is very slow when trying to find all files and their owners on HP-UX box

Hi, I have a HP-UX server were I need to list all the files in the entire file system, their directory path, last modified date, owner and group. I do not need to search the file contents. I created the script given below and I am excluding directories and files of type tmp, temp and log. The... (4 Replies)
Discussion started by: Adyan Faruqi
4 Replies
sema(5) 							File Formats Manual							   sema(5)

NAME
sema - enable or disable System V IPC semaphores at boot time DESCRIPTION
The tunable is obsolete. The System V IPC semaphore subsystem is always enabled. Overview System V IPC is comprised of mechanisms for arbitrary processes to send and receive data messages, share virtual address space and use sem- aphores to synchronize execution. A System V semaphore is a synchronization method for user processes to synchronize or serialize access to common data and resources. Each semaphore "set" has an ID, but each set can contain one or more independent semaphores. Semaphore sets are created or initially accessed through using an application-specified "key", which can be generated by Operations on the set are performed through and Semaphore sets are removed through or the command. WARNINGS
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by AT&T. SEE ALSO
ipcs(1), ipcrm(1), semget(2), semop(2), semctl(2), semaem(5), semmni(5), semmns(5), semmnu(5), semmsl(5), semume(5), semvmx(5), sysv_hash_locks(5). Tunable Kernel Parameters sema(5)
All times are GMT -4. The time now is 02:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy