Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2793

How to fetch db locked percentage in mongo 3.6.17 version?

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The mongostat command of version 2.6.3 displaying locked percentage field, Whereas the mongostat 3.6.17 version command not displaying locked percentage. Is there any alternate way to fetch locked percentage field?

      [root@sessionmgr01 ~]# mongo --version
      MongoDB shell version: 2.6.3
      [root@CA-PRI-sessionmgr01 ~]# mongostat
      connected to: 127.0.0.1
      insert query update delete getmore command flushes mapped vsize res faults locked db idx miss % qr|qw ar|aw netIn netOut conn set repl time

      [root@sessionmgr01 ~]# mongo --version
      MongoDB shell version v3.6.17
      git version: 3d6953c361213c5bfab23e51ab274ce592edafe6
      OpenSSL version: OpenSSL 1.1.1c FIPS 28 May 2019
      allocator: tcmalloc
      modules: none
      build environment:
      distmod: rhel80
      distarch: x86_64
      target_arch: x86_64

      [root@sessionmgr01 ~]# /usr/bin/mongostat
      insert query update delete getmore command flushes mapped vsize res faults qrw arw net_in net_out conn set repl time

            Assignee:
            tim.fogarty@mongodb.com Tim Fogarty
            Reporter:
            sreedhar.nalgonda@gmail.com Sreedhar N
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: