- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Using GETPROCLOCKS to identofy blockers
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
07-03-2007 10:17 PM
07-03-2007 10:17 PM
Is anyone using, or have heard of a routine for identifying locks called GETPROCLOCKS. It is something I have "inherited" and don't know where it came from (Google seach on the names gives just 1 entry).
The problem is that the Alpha version worked fine for years, but we have now upgraded to Itanium and I can't get it to work. I have tried using AEST to convert the .EXE file but get :-
%AEST-W-PRIVSS, Image calls system service SYS$CMEXEC. Execution of privileged
code in a translated context is not supported
%AEST-W-TRANSWARN, Translation completed with warnings -- review them before usi
ng the output image
I have also tried to recompile the macro and re-link, but getting :-
RX66$ link/sysexe/nosyslib getproclocks
%ILINK-W-NUDFSYMS, 6 undefined symbols:
%ILINK-I-UDFSYM, LIB$GET_FOREIGN
%ILINK-I-UDFSYM, LIB$SET_SYMBOL
%ILINK-I-UDFSYM, OTS$CVT_L_TI
%ILINK-I-UDFSYM, OTS$CVT_L_TZ
%ILINK-I-UDFSYM, OTS$CVT_TZ_L
%ILINK-I-UDFSYM, SYS$CMEXEC
%ILINK-W-USEUNDEF, undefined symbol SYS$CMEXEC referenced
etc...
Cheers,
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 01:24 AM
07-04-2007 01:24 AM
Re: Using GETPROCLOCKS to identofy blockers
before trying to debug some unknown code, why don't you try to use the HP Availabilty Manager tool ?
This tool can also identify blocking locks in a cluster.
http://h71000.www7.hp.com/openvms/products/availman/index.html
Look at the Lock Contention Display.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 01:34 AM
07-04-2007 01:34 AM
Re: Using GETPROCLOCKS to identofy blockers
Sounds like that program is similar to one I wrote in C years ago.
Check for 'blocking' in my OpenVMS Freeware submission:
http://h71000.www7.hp.com/freeware/freeware60/rms_tools
It's a little ugly to use, but should do the job.
If you want to get this GETPROCLOCKS going, then I would focus on fixing the (Macro) source or maybe just the LINK command.
Why does the program need /NOSYSLIB
Try just linking with only /SYSEXE
It moight not really need that at all either.
It might just need some offset defintions which could better come from LIB.MLB modules
Maybe if you attach the source to a future reply some reader is willing to give it a whirl?
I'm sure plenty of readers here (me) who are interested, and able, to port this tool for fee.
btw... what problem are you really trying to solve? Maybe there are better tools !?!
Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 01:41 AM
07-04-2007 01:41 AM
Re: Using GETPROCLOCKS to identofy blockers
http://h71000.www7.hp.com/wizard/wiz_8723.html
Looks like is is walking the lock structures itself, unlike my tool which just calls SYS$GETLKI in a loop.
Have you considers DECAmds for this purpose?
Also... for occastional (locking) problems is may be good enough to just use ANAL/SYSTEM... SET PROC
Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 02:39 AM
07-04-2007 02:39 AM
Re: Using GETPROCLOCKS to identofy blockers
Thank you for replies and interest.
My predecessor implemented this tool, specifically for our 1st-line Helpdesk to identify blockers. Our locks come from Rdb and our more technical people would use rmu/show to debug locks. Getproclocks was a simple non-technical tool for Helpdesk use.
I will certainly take your advise and look into your suggestions (still a bit hectic here after recent upgrade from Alpha to Itanium!).
I will attach all the code for your leisure time.
The .OLD file is the original .COM, and the new one has been customised for us.
Cheers,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 03:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 03:11 AM
07-04-2007 03:11 AM
Re: Using GETPROCLOCKS to identofy blockers
Just a heads up... the zip file you attached send my Windows XP explorer in a spin. Had to kill and re-run explorer. Pushing (ftp bin) the zip to an OpenVMS box did work though. Tiny program!
Compiled and linked /sysexe seems to work for me!
Did you try to just drop the /NOSYSLIB from the LINK command? Seems to work: it complains with no CMEXEC, it prompts adn is defines a symbol.
Dunno whether it really really works though.
Hein.
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 03:11 AM
07-04-2007 03:11 AM
Re: Using GETPROCLOCKS to identofy blockers
BTW, I did test this on an OpenVMS I64 V8.3 system...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 08:05 PM
07-04-2007 08:05 PM
Re: Using GETPROCLOCKS to identofy blockers
I have it working now.
Thank you both so much for your help.
(My first visit to the HP Forums was a great success!!)
Removing the flag on the Link as you both suggested fixed the problem.
(There was also a bug in the .COM file which was misleading me)
Cheers,
Mike