diff options
author | Christian Hesse <mail@eworm.de> | 2022-11-16 16:11:49 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2022-12-06 14:56:48 +0100 |
commit | 2b31363685a89f0543d1163e1b180d1362bfd0e1 (patch) | |
tree | efdfb94254659c08e71c7d09f17b97f728d2eafd /DiskIOMeter.c | |
parent | 5c27f21fa96c71b1bc9dc686aab8351cb307ecea (diff) |
DiskIOMeter: indicate read and write in meter mode
... as this can not be distinguished currently.
Diffstat (limited to 'DiskIOMeter.c')
-rw-r--r-- | DiskIOMeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DiskIOMeter.c b/DiskIOMeter.c index e4b4d956..adab8f73 100644 --- a/DiskIOMeter.c +++ b/DiskIOMeter.c @@ -106,7 +106,7 @@ static void DiskIOMeter_updateValues(Meter* this) { char bufferRead[12], bufferWrite[12]; Meter_humanUnit(bufferRead, cached_read_diff, sizeof(bufferRead)); Meter_humanUnit(bufferWrite, cached_write_diff, sizeof(bufferWrite)); - snprintf(this->txtBuffer, sizeof(this->txtBuffer), "%siB/s %siB/s %.1f%%", bufferRead, bufferWrite, cached_utilisation_diff); + snprintf(this->txtBuffer, sizeof(this->txtBuffer), "r:%siB/s w:%siB/s %.1f%%", bufferRead, bufferWrite, cached_utilisation_diff); } static void DiskIOMeter_display(ATTR_UNUSED const Object* cast, RichString* out) { |