Revision 9fc1fe11
b/lib/client/gnt_debug.py | ||
---|---|---|
646 | 646 |
utils.livelock.GuessLockfileFor("masterd_1")) |
647 | 647 |
result = wconfd.Client().ListLocks(wconfdcontext) |
648 | 648 |
print "Answer: %s" % (result,) |
649 |
elif args[0] == "listalllocks": |
|
650 |
if len(args) != 1: |
|
651 |
ToStderr("Command 'listalllocks' takes no arguments.") |
|
652 |
return 1 |
|
653 |
result = wconfd.Client().ListAllLocks() |
|
654 |
print "Answer: %s" % (result,) |
|
649 | 655 |
else: |
650 | 656 |
ToStderr("Command '%s' not supported", args[0]) |
651 | 657 |
return 1 |
b/man/gnt-debug.rst | ||
---|---|---|
143 | 143 |
A request to list the locks owned by the given job id is |
144 | 144 |
sent to WConfd and the answer is displayed. |
145 | 145 |
|
146 |
| **wconfd** listalllocks |
|
147 |
|
|
148 |
A request to list all locks in use, directly or indirectly, is |
|
149 |
sent to WConfd and the answer is displayed. |
|
150 |
|
|
146 | 151 |
.. vim: set textwidth=72 : |
147 | 152 |
.. Local Variables: |
148 | 153 |
.. mode: rst |
Also available in: Unified diff