Unix True 64 - Monitoring dlm locks - system wide...

This is Interesting: Free IT Magazines  
Home > Archive > Unix True 64 > February 2005 > Monitoring dlm locks - system wide...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Monitoring dlm locks - system wide...
tsv

2005-01-25, 7:49 am

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
clifford.kh.yeung@gmail.com

2005-02-01, 6:12 pm

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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com