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

2010.05.12 07:46

조인상 조회 수:29491

원문 : 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 30768
84 read/write test of Storage Filesystem ischo 2015.12.16 10197
83 RHEL/CentOS 7 에서 Network 설정하기 ischo 2015.08.31 17284
82 RHEL 6.x 에서 multipath 설정 ischo 2015.07.31 27203
81 copy 시 I/O error 발생한 파일을 dd로 복사하기 ischo 2015.07.27 9885
80 OpenSSL 다중취약점 보안업데이트 [1] ischo 2015.04.02 13900
79 HP DL/ML 시리즈용 SmartArray CLI 유틸리티 사용 설명서 ischo 2015.02.11 10606
78 XDMCP 연결시 필요한 port 번호 ischo 2014.12.24 17580
77 CentOS 6.5 환경에서 Multipath 구성하기 - 작성중 secret ischo 2014.08.05 0
76 CentOS 6.4 에서 Apache 2.4버전 RPM build 하기 file ischo 2014.07.29 14852
75 ubuntu 에서 /boot 파일시스템 full 날 경우 이미지 삭제방법 ischo 2014.05.12 14070
74 putty Connection Manager file ischo 2014.02.26 11202
73 static routing 정보 저장하여 재부팅시에도 자동 적용 ischo 2013.07.23 25401
72 file descriptor 설정하기 ischo 2013.07.10 24076
71 리눅스에서 hostid 란? ischo 2013.06.25 29186
70 다수의 파일에서 ^M 문자를 모두 없애는 쉘스크립트 ischo 2013.05.09 19277
69 Linux용 nmon 설치 및 구성 file ischo 2013.01.17 29159
68 top을 이용한 성능데이터 로깅 ischo 2013.01.13 17578
67 unzip 으로 압축해제시 하위디렉토리 만들어서 압축풀기 ischo 2012.11.14 16426
66 쉘스크립트에서 응용가능한 date 포맷 ischo 2012.10.18 15027
65 key 저장을 이용하여 ssh,sftp 자동로그인 하기 ischo 2012.10.17 18000
서버에 요청 중입니다. 잠시만 기다려 주십시오...