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

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

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

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

 

 리눅스 서버의 인터넷 수퍼데몬인 XINETD데몬을 실행시키거나 중지시키는 데몬입니다. 

 

 

 Xinetd TCP_Wrapper와 함께 사용되며 대부분의 인터넷 서비스들을 관장하며 telnet이나 ftp등과 같은 특정 서비스요청을 사용자프로세스와 서비스데몬을 연결시켜주는 역할을 합니다. 

 

 

 

 

이 스크립트에 관련된 명령어들은 이 책의 리눅스 인터넷 수퍼데몬(xinetd)서비스파일들편을 참조하시기 바랍니다. 

 

 

 

 

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

 

데몬파일     : /usr/sbin/xinetd

관련디렉토리 : /etc/xinetd.d/

설정파일

- /etc/sysconfig/network

- /etc/xinetd.conf

PID파일     :  /var/run/xinetd.pid

 

스크립트 사용예

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

Stopping xinetd: [  OK  ]

[root@command init.d]#

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

Starting xinetd: [  OK  ]

[root@command init.d]#

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

Stopping xinetd: [  OK  ]

Starting xinetd: [  OK  ]

[root@command init.d]#

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

xinetd (pid 7437) is running...

[root@command init.d]#

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

root      7437     1  0 22:25 ?        00:00:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid

root      7453  5553  0 22:25 pts/1    00:00:00 grep xinetd

[root@command init.d]#

 

 

 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,039 명
  • 현재 강좌수 :  35,849 개
  • 현재 접속자 :  136 명