Gitweb: http://git.fedorahosted.org/git/?p=dlm.git;a=commitdiff;h=34253e1a45d7f1b1bd... Commit: 34253e1a45d7f1b1bd91de30d32bb13d34cd2464 Parent: 54a5a6b7137c9f6e969bde8f0245a5bc3465536c Author: David Teigland teigland@redhat.com AuthorDate: Wed Nov 5 09:05:47 2014 -0600 Committer: David Teigland teigland@redhat.com CommitterDate: Wed Nov 5 09:05:47 2014 -0600
dlm_tool: print lkb owner pid
Displayed in verbose output mode.
Signed-off-by: David Teigland teigland@redhat.com --- dlm_tool/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlm_tool/main.c b/dlm_tool/main.c index 7ce9395..042caa9 100644 --- a/dlm_tool/main.c +++ b/dlm_tool/main.c @@ -659,10 +659,10 @@ static char *pr_verbose(struct lkb *lkb)
memset(buf, 0, sizeof(buf));
- sprintf(buf, "time %016llu flags %08x %08x bast %d %llu", + sprintf(buf, "time %016llu flags %08x %08x bast %d %llu pid %d", (unsigned long long)lkb->timestamp, lkb->exflags, lkb->flags, lkb->highbast, - (unsigned long long)lkb->time_bast); + (unsigned long long)lkb->time_bast, lkb->ownpid);
return buf; }
cluster-commits@lists.fedorahosted.org