LP #994176: pt-diskstats --group-by=all --headers=scroll prints a header for every sample

Description

**Reported in Launchpad by Jay Janssen last update 19-06-2012 20:03:59

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

Environment

None

Smart Checklist

Activity

Done

Details

Assignee

Reporter

Priority

Smart Checklist

Created January 24, 2018 at 3:35 PM
Updated January 24, 2018 at 3:35 PM
Resolved January 24, 2018 at 3:35 PM