Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make disk transactions and network packets more consistent

  • Loading branch information...
commit eefde7de49d120af9d027dabbcb537064d768326 1 parent d64386a
@dagwieers authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  plugins/dstat_disk_tps.py
  2. +1 −1  plugins/dstat_net_packets.py
View
3  plugins/dstat_disk_tps.py
@@ -8,8 +8,9 @@ class dstat_plugin(dstat):
"""
def __init__(self):
- self.nick = ('reads', 'writs' )
+ self.nick = ('#read', '#writ' )
self.type = 'd'
+ self.width = 5
self.scale = 1000
self.diskfilter = re.compile('^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
self.open('/proc/diskstats')
View
2  plugins/dstat_net_packets.py
@@ -7,7 +7,7 @@ class dstat_plugin(dstat):
def __init__(self):
self.nick = ('#recv', '#send')
- self.type = 'f'
+ self.type = 'd'
self.width = 5
self.scale = 1000
self.totalfilter = re.compile('^(lo|bond\d+|face|.+\.\d+)$')
Please sign in to comment.
Something went wrong with that request. Please try again.