From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,5e61d71190f532e7 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!c13g2000cwb.googlegroups.com!not-for-mail From: clifford.kh.yeung@gmail.com Newsgroups: comp.unix.tru64 Subject: Re: Monitoring dlm locks - system wide... Date: 1 Feb 2005 11:44:44 -0800 Organization: http://groups.google.com Message-ID: <1107287084.120488.238580@c13g2000cwb.googlegroups.com> References: NNTP-Posting-Host: 161.114.64.73 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1107287087 2639 127.0.0.1 (1 Feb 2005 19:44:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 1 Feb 2005 19:44:47 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: c13g2000cwb.googlegroups.com; posting-host=161.114.64.73; posting-account=zoX2_g0AAAAQAMDh9sIkHMW5OSsS7A_N Xref: g2news1.google.com comp.unix.tru64:569 Have you tried using dlm_get_lkinfo function? Essentially, you will need an interface to peek at the resource hash table and then walk through the various queues in the specific resource in order to return lock blocks found in the various queues (granted, converting, waiting, etc). Thanks! Cliff. tsv wrote: > Hi, > We use DLM (using lock value block) for IPC between processes in a > tru64 unix cluster. > Incidentally, we face issues in IPC and we suspect it to be because of > an orphaned dlm lock (in PR mode). > To isolate, we are looking for any command or procedure which will > list out the > details(list of processes holding this lock, the lock modes and > status) about a given dlm lock name. > I tried using the dlm api - dlm_get_rsbinfo, but it lists only the > count of the locks taken but no process info. > > Regards, > TSV