gather write metrics on multiple files

Joe Landman joe.landman at gmail.com
Wed Oct 8 23:49:43 CDT 2014


On 10/09/2014 12:40 AM, Stan Hoeppner wrote:
> Does anyone know of a utility that can track writes to files in an
> XFS directory tree, or filesystem wide for that matter, and gather
> filesystem blocks written per second data, or simply KiB/s, etc?  I
> need to analyze an application's actual IO behavior to see if it
> matches what I'm being told the application is supposed to be doing.
>

We've written a few for this purpose (local IO probing).

Start with collectl (looks at /proc/diskstats), and others.  Our tools 
go to /proc/diskstats, and use this to compute BW and IOPs per device.

If you need to log it for a long time, set up a time series database (we 
use influxdb and the graphite plugin).  Then grab your favorite metrics 
tool that talks to graphite/influxdb (I like 
https://github.com/joelandman/sios-metrics for obvious reasons), and 
start collecting data.

> Thanks, Stan
>
> _______________________________________________ xfs mailing list
> xfs at oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs
>



More information about the xfs mailing list