1

Can we reset /proc/diskstats in linux

view story
linux-howto

http://www.linuxquestions.org – In my understanding /proc/diskstats maintains the stats of all the disk devices in the system. I believe (not sure) iostat uses this on the first interval of reporting. My question is, Is there a way to reset these stats? I know the question might arise why to do it. I work in a lab and I would like to collect these results after the completion of some I/O. Reading this file is simpler to me, but like to avoid calculating the difference. Thanks in advance. (HowTos)