| 1 |
# |
| 2 |
# pcp-htop(1) configuration file - see pcp-htop(5) |
| 3 |
# |
| 4 |
|
| 5 |
[disks] |
| 6 |
heading = Disks |
| 7 |
caption = Disk devices |
| 8 |
|
| 9 |
diskdev.heading = Device |
| 10 |
diskdev.metric = disk.dev.read |
| 11 |
diskdev.instances = true |
| 12 |
diskdev.format = device |
| 13 |
diskdev.width = -8 |
| 14 |
|
| 15 |
total.heading = TPS |
| 16 |
total.metric = rate(disk.dev.read) + rate(disk.dev.write) + (defined(disk.dev.discard) ? rate(disk.dev.discard) : mkconst(0, type=double, semantics=instant, units="count/sec")) |
| 17 |
total.caption = Rate of read requests |
| 18 |
|
| 19 |
read.heading = RR/S |
| 20 |
read.metric = rate(disk.dev.read) |
| 21 |
read.caption = Rate of read requests |
| 22 |
|
| 23 |
read_bytes.heading = RRB/S |
| 24 |
read_bytes.metric = rate(disk.dev.read_bytes) |
| 25 |
read_bytes.caption = Read throughput from the device |
| 26 |
|
| 27 |
read_merge.heading = RRQM/S |
| 28 |
read_merge.metric = rate(disk.dev.read_merge) |
| 29 |
read_merge.caption = Rate reads merged before queued |
| 30 |
read_merge.default = false |
| 31 |
|
| 32 |
read_merge_pct.heading = RRQM% |
| 33 |
read_merge_pct.metric = 100 * rate(disk.dev.read_merge) / rate(disk.dev.read) |
| 34 |
read_merge_pct.caption = Percentage reads merged before queued |
| 35 |
read_merge_pct.format = percent |
| 36 |
|
| 37 |
read_await.heading = RAWAIT |
| 38 |
read_await.metric = delta(disk.dev.read_rawactive) / delta(disk.dev.read) |
| 39 |
read_await.caption = Average time read requests queued and serviced |
| 40 |
read_await.default = false |
| 41 |
|
| 42 |
read_avqsz.heading = RARQSZ |
| 43 |
read_avqsz.metric = defined(disk.dev.read_bytes) ? rescale(delta(disk.dev.read_bytes), "Kbyte") / delta(disk.dev.read) : novalue(type=double, semantics=instant, units="Kbytes/count") |
| 44 |
read_avqsz.caption = Average I/O request size for reads to the device |
| 45 |
read_avqsz.default = false |
| 46 |
|
| 47 |
write.heading = WR/S |
| 48 |
write.metric = rate(disk.dev.write) |
| 49 |
write.caption = Rate of write requests |
| 50 |
|
| 51 |
write_bytes.heading = WRB/S |
| 52 |
write_bytes.metric = rate(disk.dev.write_bytes) |
| 53 |
write_bytes.caption = Write throughput to the device |
| 54 |
|
| 55 |
write_merge.heading = WRQM/S |
| 56 |
write_merge.metric = rate(disk.dev.write_merge) |
| 57 |
write_merge.caption = Rate writes merged before queued |
| 58 |
write_merge.default = false |
| 59 |
|
| 60 |
write_merge_pct.heading = WRQM% |
| 61 |
write_merge_pct.metric = 100 * rate(disk.dev.write_merge) / rate(disk.dev.write) |
| 62 |
write_merge_pct.caption = Percentage writes merged before queued |
| 63 |
write_merge_pct.format = percent |
| 64 |
|
| 65 |
write_await.heading = WAWAIT |
| 66 |
write_await.metric = delta(disk.dev.write_rawactive) / delta(disk.dev.write) |
| 67 |
write_await.caption = Average time write requests queued and serviced |
| 68 |
write_await.default = false |
| 69 |
|
| 70 |
write_avqsz.heading = WARQSZ |
| 71 |
write_avqsz.metric = rescale(delta(disk.dev.write_bytes), "Kbyte") / delta(disk.dev.write) |
| 72 |
write_avqsz.caption = Average I/O request size for writes to the device |
| 73 |
write_avqsz.default = false |
| 74 |
|
| 75 |
discard.heading = DR/S |
| 76 |
discard.metric = rate(disk.dev.discard) |
| 77 |
discard.caption = Rate of discard requests |
| 78 |
|
| 79 |
discard_bytes.heading = DRB/S |
| 80 |
discard_bytes.metric = rate(disk.dev.discard_bytes) |
| 81 |
discard_bytes.caption = Discard request throughput |
| 82 |
discard_bytes.default = false |
| 83 |
|
| 84 |
discard_merge.heading = DRQM/S |
| 85 |
discard_merge.metric = rate(disk.dev.discard_merge) |
| 86 |
discard_merge.caption = Rate discards merged before queued |
| 87 |
discard_merge.default = false |
| 88 |
|
| 89 |
discard_merge_pct.heading = DRQM% |
| 90 |
discard_merge_pct.metric = 100 * rate(disk.dev.discard_merge) / rate(disk.dev.discard) |
| 91 |
discard_merge_pct.caption = Percentage discards merged before queued |
| 92 |
discard_merge_pct.format = percent |
| 93 |
discard_merge_pct.default = false |
| 94 |
|
| 95 |
discard_await.heading = DAWAIT |
| 96 |
discard_await.metric = delta(disk.dev.discard_rawactive) / delta(disk.dev.discard) |
| 97 |
discard_await.caption = Average time discard requests queued and serviced |
| 98 |
discard_await.default = false |
| 99 |
|
| 100 |
discard_avqsz.heading = DARQSZ |
| 101 |
discard_avqsz.metric = defined(disk.dev.discard) ? rescale(delta(disk.dev.discard_bytes), "Kbyte") / delta(disk.dev.discard) : novalue(type=double, semantics=instant, units="Kbytes/count") |
| 102 |
discard_avqsz.caption = Average I/O request size for discards to the device |
| 103 |
discard_avqsz.default = false |
| 104 |
|
| 105 |
flush.heading = F/S |
| 106 |
flush.metric = rate(disk.dev.flush) |
| 107 |
flush.default = false |
| 108 |
flush.caption = Flushes per second |
| 109 |
|
| 110 |
flush_await.heading = FAWAIT |
| 111 |
flush_await.metric = delta(disk.dev.flush_rawactive) / delta(disk.dev.flush) |
| 112 |
flush_await.caption = Average time that flush requests were queued and serviced |
| 113 |
flush_await.default = false |
| 114 |
|
| 115 |
qlen.heading = AQU-SZ |
| 116 |
qlen.metric = rate(disk.dev.read_rawactive) + rate(disk.dev.write_rawactive) |
| 117 |
qlen.caption = Average read and write I/O queue length to the device |
| 118 |
|
| 119 |
util.heading = UTIL% |
| 120 |
util.metric = 100 * rate(disk.dev.avactive) |
| 121 |
util.caption = Percentage of time device was busy processing requests |
| 122 |
util.format = percent |