데몬 스크립트 파일 : /etc/rc.d/init.d/portmap
작성자 정보
- 구돌 작성
 - 작성일
 
컨텐츠 정보
- 4,455 조회
 - 0 추천
 - 목록
 
본문
데몬 스크립트 파일 : /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]#  | 
 
관련자료
- 
			이전
 - 
			다음
 
								