랜카드 동작속도 확인/수정 방법

2010.05.12 07:46

조인상 조회 수:29490

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


mii-tool 과 ethtool 유틸리티로 확인해 볼 수 있다.

사용방법은 ....

# mii-tool
[root@say ~]# mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIPHY on 'eth1' failed: Operation not supported

# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 32
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000007 (7)
        Link detected: yes




[root@say ~]# mii-tool --help
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
      -V, --version              display version information
      -v, --verbose              more verbose output
      -R, --reset                reset MII to poweron state
      -r, --restart              restart autonegotiation
      -w, --watch                monitor for link status changes
      -l, --log                  with -w, write events to syslog
      -A, --advertise=media,...  advertise only specified media
      -F, --force=media          force specified media technology
media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
      (to advertise both HD and FD) 100baseTx, 10baseT


[root@say ~]# ethtool
ethtool version 1.8
Usage:
        ethtool DEVNAME
        ethtool -a DEVNAME
        ethtool -A DEVNAME \
                [ autoneg on|off ] \
                [ rx on|off ] \
                [ tx on|off ]
        ethtool -c DEVNAME
        ethtool -C DEVNAME \
                [adaptive-rx on|off] \
                [adaptive-tx on|off] \
                [rx-usecs N] \
                [rx-frames N] \
                [rx-usecs-irq N] \
                [rx-frames-irq N] \
                [tx-usecs N] \
                [tx-frames N] \
                [tx-usecs-irq N] \
                [tx-frames-irq N] \
                [stats-block-usecs N] \
                [pkt-rate-low N] \
                [rx-usecs-low N] \
                [rx-frames-low N] \
                [tx-usecs-low N] \
                [tx-frames-low N] \
                [pkt-rate-high N] \
                [rx-usecs-high N] \
                [rx-frames-high N] \
                [tx-usecs-high N] \
                [tx-frames-high N] \
                [sample-interval N]
        ethtool -g DEVNAME
        ethtool -G DEVNAME \
                [ rx N ] \
                [ rx-mini N ] \
                [ rx-jumbo N ] \
                [ tx N ]
        ethtool -i DEVNAME
        ethtool -d DEVNAME
        ethtool -e DEVNAME \
                [ raw on|off ] \
                [ offset N ] \
                [ length N ]
        ethtool -E DEVNAME \
                [ magic N ] \
                [ offset N ] \
                [ value N ]
        ethtool -k DEVNAME
        ethtool -K DEVNAME \
                [ rx on|off ] \
                [ tx on|off ] \
                [ sg on|off ] \
                [ tso on|off ]
        ethtool -r DEVNAME
        ethtool -p DEVNAME [ %d ]
        ethtool -t DEVNAME [online|(offline)]
        ethtool -s DEVNAME \
                [ speed 10|100|1000 ] \
                [ duplex half|full ]    \
                [ port tp|aui|bnc|mii|fibre ] \
                [ autoneg on|off ] \
                [ phyad %d ] \
                [ xcvr internal|external ] \
                [ wol p|u|m|b|a|g|s|d... ] \
                [ sopass %x:%x:%x:%x:%x:%x ] \
                [ msglvl %d ]
        ethtool -S DEVNAME
번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 30767
84 백스페이스 눌러서 지우려고 할때 ^H 표시될때 조치법 조인상 2010.05.12 24525
83 centOS 4.2 설치시 한글깨짐 문제 조인상 2010.05.12 18468
82 sendmail 기반의 Squirrelmail (다람쥐메일)설치기법 조인상 2010.05.12 13170
81 centOS 에서 dovecot POP3 사용하기 조인상 2010.05.12 15239
80 sendmail 25번포트 접속이 localhost에서만 허용될때 조인상 2010.05.12 16941
» 랜카드 동작속도 확인/수정 방법 조인상 2010.05.12 29490
78 tar 를 이용한 테잎 백업스크립트 예 조인상 2010.05.12 10980
77 [펌] 리눅스에서의 시리얼통신 조인상 2010.05.12 19998
76 xinetd 모드로 proftpd 변경 조인상 2010.05.12 12364
75 ssh 자동로그아웃 설정방법 조인상 2010.05.12 41531
74 파일로 스왑추가 방법 조인상 2010.05.12 11097
73 vsftpd 포트변경 방법 조인상 2010.05.12 14866
72 LVM 사용하여 추가한 디스크로 볼륨 늘리기 ischo 2010.05.19 35806
71 리눅스환경에서 RedOwl 정지시키기 조인상 2010.05.27 14475
70 case로 만드는 오라클 서비스 관리 ksh 스크립트 예제 ischo 2010.06.18 13494
69 CentOS에 zabbix 1.8.2 install secret 조인상 2010.07.27 2
68 HOW TO SELinux file ischo 2010.11.17 9351
67 Linux Performance and Tuning Guidelines - IBM file ischo 2010.11.17 9792
66 시스템 관리자를 위한 50가지 비법 조인상 2011.01.04 12212
65 불특정 파일리스트 FTP 전송 스크립트 file ischo 2011.02.18 14179
서버에 요청 중입니다. 잠시만 기다려 주십시오...