Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 31-10-2012, 09:55 AM   #1
emailhoc
Administrator
 
Gia nhập: Jul 2009
Trả Lời: 245
Tìm hiểu lệnh /proc/diskstats
/proc/diskstats line format

Each line inside /proc/diskstats is having the following info format:
eg.
for sda (Full disk)
cat /proc/diskstats | grep 'sda '
8 0 sda 2461810 61427 148062742 6482992 660009 1544934 67900384 45642376 0 7162961 52128751
Meaning:
Field 1 -- # of reads issued
Field 2 -- # of reads merged
Field 3 -- # of sectors read
Field 4 -- # of milliseconds spent reading
Field 5 -- # of writes completed
Field 6 -- # of writes merged
Field 7 -- # of sectors written
Field 8 -- # of milliseconds spent writing
Field 9 -- # of I/Os currently in progress
Field 10 -- # of milliseconds spent doing I/Os
Field 11 -- weighted # of milliseconds spent doing I/Os
or for hda1(Partition only)
cat /proc/diskstats | grep 'hda1 '
3 1 hda1 25838 525266 1505217 12041736
Meaning:
Field 1 -- # of reads issued - This is the total number of reads issued to this partition.
Field 2 -- # of sectors read - This is the total number of sectors requested to be read from this partition.
Field 3 -- # of writes issued - This is the total number of writes issued to this partition.
Field 4 -- # of sectors written - This is the total number of sectors requested to be written to this partition


emailhoc vắng mặt   Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 02:58 PM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.