본문 바로가기 메뉴 바로가기

blog.helperchoi.com

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

blog.helperchoi.com

검색하기 폼
  • 블로그 전체보기 (180)
    • System Story (145)
      • CentOS 5,6 (104)
      • CentOS 7 (15)
      • Ubuntu (4)
      • Suse Linux (0)
      • Windows (5)
      • Database (7)
      • Ansible (0)
      • Python3 (3)
      • Perl (0)
      • Go Language (0)
      • Project (1)
      • ETC (1)
      • Youtube - Tip4Linux (5)
    • Cloud Story (10)
      • Cloud Stack (6)
      • Open Stack (1)
      • Vmware vSphere (0)
      • KVM (0)
      • Xen Server (1)
      • Type2 Hypervisor (2)
    • Life Story (25)
      • 소소한 이야기 (8)
      • 담는 법 (3)
      • Review (8)
      • 꽁치네집 (5)
      • 6x6 (1)
  • 방명록

active (1)
모든 네트워크 인터페이스를 기준으로 Link 활성화 대상 찾기

Linux OS상에 인식된 Ethernet Device 에 대하여 Speed와 Link 여부를 아래와 같은 명령으로 확인 가능하다. [root@TEST01 ~]# [root@TEST01 ~]# for LIST in `ip addr | grep -w mtu | cut -d ":" -f 2 | egrep -v 'lo|inet|virbr'`; do echo "${LIST} - `ethtool ${LIST} | egrep 'Speed|Link detected'`" && echo; done eth0 - Speed: Unknown! Link detected: no eth1 - Speed: 10000Mb/s Link detected: yes eth2 - Speed: 10000Mb/s Link detected: yes..

System Story/CentOS 5,6 2013. 11. 10. 18:23
이전 1 다음
이전 다음
반응형
공지사항
  • ::::::: 이 블로그는? :::::::
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바