FREEDOM. FRIENDS. FEATURES. FIRST. 페도라 한국 사용자 모임

Disk I/O stats(iostat,iotop,tiobench) from /proc/diskstats

게시판 Tech/Tip Disk I/O stats(iostat,iotop,tiobench) from /proc/diskstats

  • This topic has 2개 답변, 2명 참여, and was last updated 15 years, 8 months 전에 by
    인베인. This post has been viewed 721 times
  • #12058
    인베인
    참가자
      게시글147 댓글411 총합558
    @leemgs
     


    iostat 명령은 물리적 디스크가 평균 전송률과 관련하여 활동하는 시간을 관측하여 시스템 입출력 장치 로딩을 모니터링하는 데
    사용됩니다. iostat 명령은 물리적 디스크 사이의 입출력 로드의 균형이 잘 이루어지도록 시스템 구성설정을 변경하는 데 사용될
    수 있는 보고서를 생성합니다.

    F9#> cat /proc/diskstats | grep 'sda '
      8    0 sda 2461810 61427 148062742 6482992 660009 1544934 67900384 45642376 0 7162961 52128751
    F9#> man proc
     /proc/diskstats (since Linux 2.5.69)
      This file contains disk I/O statistics for each disk device.  
      See the kernel source file Documentation/iostats.txt for further information.

    F9#> man iostat
    Field 1 -- # of reads issued
    Field 2 -- # of reads merged, field 6 -- # of writes merged
    Field 3 -- # of sectors read
    Field 4 -- # of milliseconds spent reading
    Field 5 -- # of writes completed
    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

    F9#> firefox http://www.linuxinsight.com/iostat_screenshots.html
    F9#> w g e t http://www.linuxinsight.com/files/iostat-2.2.tar.gz
    F9#> iostat -x 1
    F9#> yum install sysstat  (sysstat-8.0.4-4.fc9.i386 ,http://perso.orange.fr/sebastien.godard/ )
    F9#> yum install tiobench (tiobench-0.3.3-7.1.i386 , )
    F9#> yum install iotop (iotop-0.2.1-1.fc9.noarch , http://guichaz.free.fr/iotop/ )  
    F9#> tiobench
    F9#> iotop

    * 오픈소스는 Open Innovationa & 윈윈전략을 도모할 지언정 절대 공짜(무료)임을 뜻하지 않는다.치

1 답변 글타래를 보이고 있습니다
    • #12624
      ELem
      참가자
        게시글74 댓글709 총합783
      @Bardisch
       

      꽤 자세한것까지 나오나보네요.
      써봐야겠군요.

       
    • #12625
      인베인
      참가자
        게시글147 댓글411 총합558
      @leemgs
       

      리눅스 서버 다루면서 CPU , DISK I/O 컨트롤할수 있으면  제왕들이 사는 땅에 들어왔다고 봐도....ㅎㅎ

      * 오픈소스는 Open Innovationa & 윈윈전략을 도모할 지언정 절대 공짜(무료)임을 뜻하지 않는다.치

       
1 답변 글타래를 보이고 있습니다
  • 답변은 로그인 후 가능합니다.

지금 이 순간


rsyslog에 대하여
hello
rpcbind service를 중지하는 법?
윈7 페도라12 멀티부팅질문이요
vnc 설치와 접속에 대해서 문의 드립니다. ㅜㅜ
가입인사
os 엔지니어분을 알고싶어요~
안녕하세요 월요일 입니다
pidgin 쪽지 답변 안되나요??
흐악~~18일 내일이 개학이라능 ㅠㅠㅠ