Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-1628

pt-mysql-summary checks installed mysqld binary which may not be the version in memory

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Cannot Reproduce
    • 3.0.11
    • None
    • pt-mysql-summary
    • Yes
    • 1

    Description

      Any time 'which mysqld' is used, if the $pid is known, we should instead use /proc/${pid}/exe as the version returned from which could have changed during updates.

      For example in the following line:

      grep -qc jemalloc /proc/${pid}/environ || ldd $(which mysqld) 2>/dev/null | grep -qc jemalloc

      Attachments

        Issue Links

          Activity

            People

              sveta.smirnova Sveta Smirnova
              james.lawrie James Lawrie (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist