• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Linux io stats per filesystem

We need a script to show upstats
Not by device but
Sorted and mapped to Filesystem/mount point.
0
it-rex
Asked:
it-rex
2 Solutions
 
madunixCommented:
You can run iostats; read man iostat and understand the output provided by iostat command
[root@king ~]# iostat -x 5| egrep 'sda|Device' 
Device:         rrqm/s   wrqm/s   r/s   w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.86    18.38  1.05  4.16   140.80   180.32    61.68     0.01    2.34   3.43   1.78
sda1              0.00     0.00  0.00  0.00     0.01     0.00    50.82     0.00   15.09  12.01   0.00
sda2              0.86    18.38  1.05  4.16   140.79   180.32    61.68     0.01    2.34   3.43   1.78
Device:         rrqm/s   wrqm/s   r/s   w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00    12.00  0.00  6.40     0.00   147.20    23.00     0.05    7.09   7.09   4.54
sda1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sda2              0.00    12.00  0.00  6.40     0.00   147.20    23.00     0.05    7.09   7.09   4.54

Open in new window

0
 
gheistCommented:
IO stats are gathered per block device, not per mount point.
On a vistual system you can have mount point per device if you want to satisfy your requirement.
0
 
it-rexAuthor Commented:
thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now