- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to see semaphore status currently?
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
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
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
04-03-2002 09:59 AM
04-03-2002 09:59 AM
How to see semaphore status currently?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 10:51 AM
04-03-2002 10:51 AM
Re: How to see semaphore status currently?
You can use the /usr/sbin/sydef to display the kernel parameters of which semaphores in also one.
Sydef analyzes teh currently running system and reports and reports on its tunable parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 11:00 AM
04-03-2002 11:00 AM
Re: How to see semaphore status currently?
If you know Perl, then you can use the IPC::Semaphore module to look at any semaphore values. About 20 lines of Perl in this case would replace 250 or so lines of C to do the same thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 11:01 AM
04-03-2002 11:01 AM
Re: How to see semaphore status currently?
The sar util (sar -m) will give semaphore usage in calls per second & you could set it up to create a file over time to get some historical usage data.
Also I believe you can get more detailed info from the lsof utility.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 11:09 AM
04-03-2002 11:09 AM
Re: How to see semaphore status currently?
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 05:15 PM
04-03-2002 05:15 PM
Re: How to see semaphore status currently?
here's how to get the information.
# /opt/perf/bin/glance
Once the screen is open:
F5 (NextKeys)
F3 (SysTabls)
This will show something like this:
SYSTEM TABLES REPORT Users= 9
System Table Available Used Utilization High(%)
--------------------------------------------------------------------------------
Proc Table (nproc) 8212 259 3 3
File Table (nfile) 20989 3863 18 18
Shared Mem Table (shmmni) 1024 25 2 2
Message Table (msgmni) 1024 46 4 4
Semaphore Table (semmni) 8192 34 0 0
File Locks (nflocks) 800 33 4 4
Pseudo Terminals (npty) 1024 0 0 0
Buffer Headers (nbuf) na 70176 na na
If you don't have glance loaded, there is a trial version that you ca load from your application CD set.
-Michael