강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

데몬 스크립트 파일 : /etc/rc.d/init.d/arpwatch

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

데몬 스크립트 파일 : /etc/rc.d/init.d/arpwatch

 

이더넷(ethernet) IP의 주소매칭을 위한 arpwatch데몬 스크립트입니다. 

 

 

 , 랜카드(이더넷카드, NIC) MAC주소에 할당된 IP주소와의 관계를 유지하기 위한 arpwatch데몬의 스크립트입니다. 

 

 

  

 

이 스크립트에 관련된 명령어들은 이 책의 arp arpwatch명령어편을 참조하시기 바랍니다. 

 

 

 

 

사용옵션 : start|stop|status|restart|reload|condrestart

 

프로세스명     :  arpwatch

시스템설정파일 :  /etc/sysconfig/network

기타           : /var/lock/subsys/arpwatch

 

스크립트 사용예

[root@command init.d]# /etc/rc.d/init.d/arpwatch start

Starting arpwatch: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/arpwatch restart

Stopping arpwatch: [  OK  ]

Starting arpwatch: [  OK  ]

[root@command init.d]#

 [root@command init.d]# /etc/rc.d/init.d/arpwatch stop

Stopping arpwatch: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/arpwatch status

arpwatch (pid 2128) is running...

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/arpwatch reload

Stopping arpwatch: [  OK  ]

Starting arpwatch: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/arpwatch condrestart

Stopping arpwatch: [  OK  ]

Starting arpwatch: [  OK  ]

[root@command init.d]#

[root@command init.d]# ps -ef | grep arpwatch

pcap      2128     1  0 09:48 ?        00:00:00 [arpwatch]

root      2132  2007  0 09:48 pts/0    00:00:00 grep arpwatch

[root@command init.d]#

 

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,064 명
  • 현재 강좌수 :  35,963 개
  • 현재 접속자 :  248 명