Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Include CCISS disks in the default disk filter

  • Loading branch information...
commit a37825409459d143639cfe91cbe155eab43e3a0d 1 parent eda79b7
@dagwieers authored
View
2  plugins/dstat_disk_avgqu.py
@@ -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 )
View
2  plugins/dstat_disk_avgrq.py
@@ -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 )
View
2  plugins/dstat_disk_svctm.py
@@ -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 )
View
2  plugins/dstat_disk_tps.py
@@ -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
View
2  plugins/dstat_disk_util.py
@@ -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 )
View
2  plugins/dstat_disk_wait.py
@@ -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 )
Please sign in to comment.
Something went wrong with that request. Please try again.