Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Include CCISS disks in the default disk filter
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers committed Nov 26, 2013
1 parent eda79b7 commit a378254
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/dstat_disk_avgqu.py
Expand Up @@ -11,7 +11,7 @@ def __init__(self):
self.type = 'f'
self.width = 4
self.scale = 10
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+)$')
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+|cciss/c\dd\d)$')
self.open('/proc/diskstats')
self.cols = 1
self.struct = dict( rq_ticks=0 )
Expand Down
2 changes: 1 addition & 1 deletion plugins/dstat_disk_avgrq.py
Expand Up @@ -12,7 +12,7 @@ def __init__(self):
self.type = 'f'
self.width = 4
self.scale = 10
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+)$')
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+|cciss/c\dd\d)$')
self.open('/proc/diskstats')
self.cols = 1
self.struct = dict( nr_ios=0, rd_sect=0, wr_sect=0 )
Expand Down
2 changes: 1 addition & 1 deletion plugins/dstat_disk_svctm.py
Expand Up @@ -15,7 +15,7 @@ def __init__(self):
self.type = 'f'
self.width = 4
self.scale = 1
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+)$')
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+|cciss/c\dd\d)$')
self.open('/proc/diskstats')
self.cols = 1
self.struct = dict( nr_ios=0, tot_ticks=0 )
Expand Down
2 changes: 1 addition & 1 deletion plugins/dstat_disk_tps.py
Expand Up @@ -11,7 +11,7 @@ def __init__(self):
self.nick = ('reads', 'writs' )
self.type = 'd'
self.scale = 1000
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+)$')
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+|cciss/c\dd\d)$')
self.open('/proc/diskstats')
self.cols = 2

Expand Down
2 changes: 1 addition & 1 deletion plugins/dstat_disk_util.py
Expand Up @@ -14,7 +14,7 @@ def __init__(self):
self.type = 'f'
self.width = 4
self.scale = 34
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+)$')
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+|cciss/c\dd\d)$')
self.open('/proc/diskstats')
self.cols = 1
self.struct = dict( tot_ticks=0 )
Expand Down
2 changes: 1 addition & 1 deletion plugins/dstat_disk_wait.py
Expand Up @@ -13,7 +13,7 @@ def __init__(self):
self.type = 'f'
self.width = 4
self.scale = 1
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+)$')
self.diskfilter = re.compile('^(dm-\d+|md\d+|[hsv]d[a-z]+\d+|cciss/c\dd\d)$')
self.open('/proc/diskstats')
self.cols = 1
self.struct = dict( rd_ios=0, wr_ios=0, rd_ticks=0, wr_ticks=0 )
Expand Down

0 comments on commit a378254

Please sign in to comment.