- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do you monitor shared memory and semaphores?
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
02-22-2002 06:13 AM
02-22-2002 06:13 AM
We are having problems with one of our thirdparty software packages for document management, the vendor has asked that we monitor our semaphores and shared memory.
What commands do I need to execute to do this?
Thanks and have a great day?
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 06:22 AM
02-22-2002 06:22 AM
Re: How do you monitor shared memory and semaphores?
You can use the ipcs command for this prupose:
ipcs -sob OR
ipcs -ca
See the man page for ipcs and exact options for what you want to see but the -sob is probably what you want.
The knowledge base has many articles on this and other performance issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 06:23 AM
02-22-2002 06:23 AM
Re: How do you monitor shared memory and semaphores?
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 06:42 AM
02-22-2002 06:42 AM
Re: How do you monitor shared memory and semaphores?
Run ipcs -a in a cron job at periodic intervals.
for eg: A shell script: /usr/local/bin/check_ipcs
can contain
date >>/var/adm/syslog/ipcs.out
/usr/sbin/ipcs -a >>/var/adm/syslog/ipcs.out
echo "______________" >>/var/adm/syslog/ipcs.out
Then include it in cron with
15 * * * /usr/local/bin/check_ipcs
to run every 15 minutes.
Whenever you want to look at the shared memory/semaphores usage history, just look
at the ipcs.out file!
You can also include options in ipcs to get specific items, like ipcs -am , ipcs -as .
Check man ipcs for more info.
The same info can be got through glance in real time and Measureware/perfview on historical usage.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 07:48 PM
02-22-2002 07:48 PM
Re: How do you monitor shared memory and semaphores?
ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/
Note: ftp:// and not http://
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2002 07:38 AM
02-25-2002 07:38 AM
Re: How do you monitor shared memory and semaphores?
the info I needed using info you each gave me.
Have a great day
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2002 08:05 AM
02-25-2002 08:05 AM
Re: How do you monitor shared memory and semaphores?
Here are two good links:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html
and how to find them:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1e6f84534efbd5118ff40090279cd0f9,00.html
live free or die
harry