栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 面试问答

/ proc / [pid] / io中的计数器是什么意思?

面试问答 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

/ proc / [pid] / io中的计数器是什么意思?

尽管proc联机帮助页令人遗憾地落后(大多数与cookie-
cutter用户空间开发无关的联机帮助页/文档也是如此),但幸运的是,这些资料已在Linux内核源代码下的完全记录了下来

documentation/filesystems/proc.txt
。以下是相关的位:

rchar-----I/O counter: chars readThe number of bytes which this task has caused to be read from storage. Thisis simply the sum of bytes which this process passed to read() and pread().It includes things like tty IO and it is unaffected by whether or not actualphysical disk IO was required (the read might have been satisfied frompagecache)wchar-----I/O counter: chars writtenThe number of bytes which this task has caused, or shall cause to be writtento disk. Similar caveats apply here as with rchar.read_bytes----------I/O counter: bytes readAttempt to count the number of bytes which this process really did cause tobe fetched from the storage layer. Done at the submit_bio() level, so it isaccurate for block-backed filesystems. <please add status regarding NFS andCIFS at a later time>write_bytes-----------I/O counter: bytes writtenAttempt to count the number of bytes which this process caused to be sent tothe storage layer. This is done at page-dirtying time.


转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/374907.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号