首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在Ubuntu中,/proc/fs/jbd2 2/sda6 6-8/info的作用是什么?

在Ubuntu中,/proc/fs/jbd2 2/sda6 6-8/info的作用是什么?
EN

Ask Ubuntu用户
提问于 2014-09-16 10:48:36
回答 1查看 714关注 0票数 2

我正在使用Ubuntu14.04。今天我正在浏览文件系统,我在文件中发现

/proc/fs/jbd2 2/sda6 6-8/info

下面提到的事情。

代码语言:javascript
运行
复制
  9286 transactions (8421 requested), each up to 8192 blocks

平均:

代码语言:javascript
运行
复制
  0ms waiting for transaction
  0ms request delay
  1612ms running transaction
  0ms transaction was being locked
  0ms flushing data (in ordered mode)
  36ms logging transaction
  82093us average transaction commit time
  90 handles per transaction
  8 blocks per transaction
  9 logged blocks per transaction

以上这些都是什么意思呢?

Ubuntu中的/proc/fs/jbd2 2/sda6 6-8/info文件的作用是什么?以上各点的意义何在?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2014-09-16 10:59:06

根据wiki.kernel.org常见问题

/proc/fs/jbd2/partition/info文件显示了自文件系统首次挂载以来来自/proc/fs/jbd2/partition/history文件的平均统计信息。

执行cat /proc/fs/jbd2/partition/info提供:

代码语言:javascript
运行
复制
56 transaction, each upto 2048 blocks
average: 
 0ms waiting for transaction
 57671ms running transaction
 0ms transaction was being locked
 28ms flushing data (in ordered mode)
 14ms logging transaction
 2383 handles per transaction
 6 blocks per transaction
 7 logged blocks per transaction

/proc/fs/jbd2/partition/history文件的目的还在于提供有关ext4日志层(JBD2)行为的信息。

cat /proc/fs/jbd2/partition/history给出:

代码语言:javascript
运行
复制
R/C  tid   wait  run   lock  flush log   hndls  block inlog ctime write drop  close
R    7102  0     5000  0     1424  4     68681  5     6    
R    7103  0     5000  0     1644  4     64579  9     10   
R    7104  0     5000  0     856   32    38719  11    12   
R    7105  0     5000  0     1052  0     47142  12    13   
R    7106  0     5000  0     1172  16    56028  11    12   
R    7107  0     5000  0     1416  4     71047  11    12   
R    7108  0     5000  0     1640  4     81125  5     6    
R    7109  0     5000  0     1616  4     77314  6     7    
R    7110  0     5000  0     1640  0     76111  5     6    
:
:
票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/524657

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档