[英]How to find if a process is doing sequential/random write
在GNU / Linux中量化这个的最佳技术是什么。
This is not exactly an answer but.. 这不是一个答案,但..
If you mean writing to a file, you can use strace
and look for pwrite
or lseek
+ write
combination. 如果您的意思是写入文件,您可以使用strace
并查找pwrite
或lseek
+ write
组合。 Check for offset in pwrite
or lseek
to figure out its sequential or not. 检查pwrite
或lseek
偏移量以确定其顺序与否。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.