#pmlogconf-setup 2.0
ident   metrics used by the iostat(1) command
probe	kernel.uname.sysname ~ Linux ? include : exclude

# -d --------------------------------------------------

# Device:
# tps
# kB_read/s
# kB_wrtn/s
	disk.dev.read_bytes			# kB_read
	disk.dm.read_bytes
	disk.dev.write_bytes			# kB_wrtn
	disk.dm.write_bytes

# -h --------------------------------------------------

	kernel.all.cpu.user	# %user   
	kernel.all.cpu.nice	# %nice 
	kernel.all.cpu.sys	# %system 
	kernel.all.cpu.wait.total	# %iowait  
	kernel.all.cpu.steal	# %steal   
	kernel.all.cpu.idle	# %idle

# -x --------------------------------------------------

        disk.all.read                   # total: Total reads completed successfully
        disk.all.read_merge             # merged: grouped reads (resulting in one I/O)
        disk.all.blkread                # sectors: Sectors read successfully
        disk.all.read_rawactive         # ms: milliseconds spent reading
        disk.all.write                  # total: Total writes completed successfully
        disk.all.write_merge            # merged: grouped writes (resulting in one I/O)
        disk.all.blkwrite               # sectors: Sectors written successfully
        disk.all.write_rawactive        # ms: milliseconds spent writing
        disk.all.avactive               # s: seconds spent for I/O

        disk.dev.read                   # total: Total reads completed successfully
        disk.dm.read
        disk.dev.read_merge             # merged: grouped reads (resulting in one I/O)
        disk.dm.read_merge
        disk.dev.blkread                # sectors: Sectors read successfully
        disk.dm.blkread
        disk.dev.read_rawactive         # ms: milliseconds spent reading
        disk.dm.read_rawactive
        disk.dev.write                  # total: Total writes completed successfully
        disk.dm.write
        disk.dev.write_merge            # merged: grouped writes (resulting in one I/O)
        disk.dm.write_merge
        disk.dev.blkwrite               # sectors: Sectors written successfully
        disk.dm.blkwrite
        disk.dev.write_rawactive         # ms: milliseconds spent writing
        disk.dm.write_rawactive

	disk.all.read_merge		# rrqm/s
	disk.all.write_merge		# wrqm/s
	disk.all.read			# r/s
	disk.all.write			# w/s
	disk.all.read_bytes		# rkB/s
	disk.all.write_bytes		# wkB/s
					# avgqu-sz
					# - avgrq-sz 
	disk.dev.avactive		# await
	disk.dm.avactive
	disk.all.read_rawactive		# r_await
	disk.all.write_rawactive	# w_await
	# - svctm
	# - %util (r/s + w/s) * (svctm / 1000)		

