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

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

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

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

 

 RPM 포트맵퍼(portmap daemon)을 시작(종료)하는 스크립트입니다. 

 

 

 일명 포터맵퍼(portmapper)라고 합니다. 

 

 

  portmapper NFS NIS등과 같은 프로토콜이 사용되는 RPC연결을 제어하는 역할을 합니다. 

 

 

 따라서 이 portmapper RPC매카니즘을 사용하는 프로토콜이 탑재되어있어 서버로 사용되는 시스템에서는 반드시 실행되어있어야 합니다. 

 

 

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

 

 

 

 

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

 

데몬파일 : /sbin/portmap

 

스크립트 사용예

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

Stopping portmapper: [  OK  ]

[root@command init.d]#

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

Starting portmapper: [  OK  ]

[root@command init.d]#

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

Stopping portmapper: [  OK  ]

Starting portmapper: [  OK  ]

[root@command init.d]#

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

portmap (pid 2958) is running...

[root@command init.d]#

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

rpc       2958     1  0 15:53 ?        00:00:00 [portmap]

root      2972  2340  0 15:53 pts/0    00:00:00 grep portmap

[root@command init.d]#

 

 

 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,043 명
  • 현재 강좌수 :  35,853 개
  • 현재 접속자 :  77 명