- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to verify what processes are using semaphore c...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 12:28 AM
тАО06-03-2008 12:28 AM
How to verify what processes are using semaphore counting now?
Semaphore on one of my system was fulled as 100% even I set it as 5000. As I know 5000 is not too low value for running task. How I can check what process is using semaphore ? Is it possible from glance?
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 12:39 AM
тАО06-03-2008 12:39 AM
Re: How to verify what processes are using semaphore counting now?
man ipcs
HTH!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 12:44 AM
тАО06-03-2008 12:44 AM
Re: How to verify what processes are using semaphore counting now?
Consider to choose another user name other than "How to check what processes are using semaphore?"
;-))
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 02:07 AM
тАО06-03-2008 02:07 AM
Re: How to verify what processes are using semaphore counting now?
Yes, certainly. Please use glance -t.
And also as suggested by Torsten. Please use the different username. :-)
Regards
DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 03:29 AM
тАО06-03-2008 03:29 AM
Re: How to verify what processes are using semaphore counting now?
use "ipcrm -M {shmkey}" to kill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 05:55 AM
тАО06-03-2008 05:55 AM
Re: How to verify what processes are using semaphore counting now?
Use ipcs|grep
ipcrm -m
Thanks,
Srini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 05:33 PM
тАО06-03-2008 05:33 PM
Re: How to verify what processes are using semaphore counting now?
I'm sorry for using subject as my author name because of not used at this.
Thanks for your advice and would like to give one more question.
from output of ipcs -s -bcp, how I can verify what process is using specific KEY?
For example, can I know what process is using 0x4f0d1118 KEY?
IPC status from /dev/kmem as of Tue Jun 3 17:40:49 2008
T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS
Semaphores:
s 0 0x4f0d1118 --ra------- root root root root 1
s 4097 0x410ce8b0 --ra-ra-ra- root root root root 1
s 4098 0x4e0c0002 --ra-ra-ra- root root root root 2
s 20483 0x410e110f --ra-ra-ra- root root root root 2
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 08:33 PM
тАО06-03-2008 08:33 PM
Re: How to verify what processes are using semaphore counting now?
You can't. Try "ipcs -sa". (I'm not even sure that will work.)
glance may be able to do it.