IBM Support

Monitor the Lock Manager status on UNIX and Linux

Question & Answer


Question

How can I monitor the status of the IBM® Rational® ClearCase® Lock Manager process on UNIX® and Linux® operating systems?

Answer

Note: The lockmgr process has been retired as of Rational ClearCase 7.0 and replaced with different technology. Review the Documentation supplement referenced below for more details.

The following steps will assist you in capturing diagnostic output needed to troubleshoot the Lock Manager on UNIX or Linux.

  1. SU to root
  2. Run: ps -ef | grep lockmgr
  3. Find the lockmgr pid.
  4. Run: kill -3 <lockmgr-pid>
  5. Run:
    • 2002.05.00 (and earlier)
      grep "open files" /var/adm/atria/log/lockmgr_log
    • 2003.06.00 (and later)
      grep "open files" /var/adm/rational/clearcase/log/lockmgr_log
  6. Similar output as below will be printed to the screen. The last line is the current status of the lockmgr.

    0 users, 0 open files
    1 users, 7 open files
    1 users, 7 open files
    2 users, 14 open files

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Lock Manager","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"2002.05.00;2003.06.00","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Lock Manager","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21122805