pt-stalk df -h throws away needed details

Bug #1035319 reported by Baron Schwartz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Medium
Daniel Nichter

Bug Description

pt-stalk does this:

      (echo $ts; df -h) >> "$d/$p-df" &

The -h option makes the resulting data human-readable, but we really need the exact measurements instead. (pt-sift could make it human-readable...)

Related branches

Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

Why are the exact numbers needed?

Changed in percona-toolkit:
status: New → Triaged
Revision history for this message
Baron Schwartz (baron-xaprb) wrote : Re: [Bug 1035319] Re: pt-stalk is throwing away df detail

Because 1GB, or even hundreds of MB, could be a significant amount of data
if it's suddenly created or suddenly dropped, for example in temporary
tables or sort files. And when things are rounded to the nearest GB you
can't tell.

Revision history for this message
Daniel Nichter (daniel-nichter) wrote : Re: pt-stalk is throwing away df detail

Makes sense.

Changed in percona-toolkit:
milestone: none → 2.1.4
importance: Undecided → Medium
tags: added: wrong-output
Changed in percona-toolkit:
assignee: nobody → Daniel Nichter (daniel-nichter)
Changed in percona-toolkit:
status: Triaged → In Progress
summary: - pt-stalk is throwing away df detail
+ pt-stalk df -h throws away needed details
Changed in percona-toolkit:
status: In Progress → Fix Committed
Brian Fraser (fraserbn)
Changed in percona-toolkit:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-564

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.