/proc/[pid]/io 中的计数器是什么意思?
我正在为 Munin 创建一个插件来监视命名进程的统计信息。信息来源之一是 /proc/[pid]/io
。但我很难找出 rchar
/wchar
和 read_bytes
/writing_bytes
之间的区别。
它们不一样,因为它们提供不同的值。他们代表什么?
I'm creating a plugin for Munin to monitor stats of named processes. One of the sources of information would be /proc/[pid]/io
. But I have a hard time finding out what the difference is between rchar
/wchar
and read_bytes
/written_bytes
.
They are not the same, as they provide different values. What do they represent?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然 proc 手册页 严重落后(大多数与任何不相关的手册页/文档也是如此)到千篇一律的用户空间开发),幸运的是,这些内容在
Documentation/filesystems/proc.rst
。以下是相关内容:While the proc manpage is woefully behind (and so are most manpages/documentation on anything not relating to cookie-cutter user-space development), this stuff is fortunately documented completely in the Linux kernel source under
Documentation/filesystems/proc.rst
. Here are the relevant bits: