Ignore floppy disk devices, due to it being 2015

This commit is contained in:
Stephen Shirley 2015-02-18 16:04:53 +01:00
parent 0c7d45cc5d
commit 72404d9ed1

View File

@ -22,7 +22,7 @@ const (
) )
var ( var (
ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.") ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(fd|h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.")
) )
type diskstatsCollector struct { type diskstatsCollector struct {