> It seems to work fine but maybe someone here knows that this is not a good > idea ....
It depends. If you're trying to figure out what generates actual iops to disk, it won't really tell you since you're counting all I/O including that which is cached. Since whatever goes down to disk tends to be, due to the LRU:ishness of caches, the less frequently accessed data that tends to make it difficult to judge by numbers that include all I/O. -- / Peter Schuller