pt-diskstats --group-by=all --headers=scroll prints a header for every sample

Bug #994176 reported by Jay Janssen
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
2.0
Fix Released
Medium
Daniel Nichter
2.1
Fix Released
Medium
Daniel Nichter

Bug Description

Per summary:

$ pt-diskstats --group-by=all --dev=sdb
  #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
  0.8 sdb 308.0 16.0 4.8 0% 3.6 11.5 614.8 25.7 15.5 0% 0.1 0.1 99% 3 922.8 2.9 1.1
  #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
  1.0 sdb 322.0 16.0 5.0 0% 4.1 12.7 519.0 25.5 12.9 14% 0.2 0.3 100% 4 841.0 3.5 1.1
  #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
  1.0 sdb 334.0 16.0 5.2 0% 2.9 8.7 65.0 25.7 1.6 56% 0.0 0.0 100% 4 399.0 3.9 2.1
  #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
  1.0 sdb 405.0 16.0 6.3 0% 3.8 9.4 117.0 24.4 2.8 43% 0.0 0.1 100% 3 522.0 4.6 1.6
  #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
  1.0 sdb 348.0 16.0 5.4 0% 2.9 8.3 249.0 25.2 6.1 35% 0.0 0.0 99% 0 597.0 2.6 1.3

$ pt-diskstats --group-by=all --dev=sdb --headers=scroll
  #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
  0.7 sdb 353.4 16.0 5.5 0% 3.1 8.8 52.0 23.2 1.2 0% 0.0 0.0 99% 1 405.5 5.3 2.4
  #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
  1.0 sdb 366.0 16.0 5.7 0% 3.3 9.1 66.0 27.0 1.7 57% 0.0 0.0 100% 6 432.0 4.4 1.9
  #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
  1.0 sdb 427.0 16.0 6.7 0% 3.8 8.9 87.0 24.0 2.0 53% 0.0 0.0 100% 2 514.0 4.6 1.6

Related branches

tags: added: pt-diskstats wrong-output
summary: - pt-diskstats --group-by=all --headers=scroll still outputs a header on
- every sample
+ pt-diskstats --group-by=all --headers=scroll prints a header for every
+ sample
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-526

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

Other bug subscribers