Question Linux tool for measuring a directory's data throughput

back2future

Junior Member
Sep 8, 2024
4
0
6
Can anyone recommend a tool or explain a method for to measure data throughput for a (common) filesystem's directory, including sub-directories (maybe even with limiting on depth of recursion)? (thx)
 

back2future

Junior Member
Sep 8, 2024
4
0
6
You could just use "iostat"
(thx)
afai_know, iostat shows data for disks or partitions, but not directories, that are below the root directory of a partition's filesystem.
e.g. iostat /dev/sdx5 shows data IO statistics for that partition, but not for a folder on that partition (maybe there's a method for utilizing iostat for that or it's depending on distributions?)