데몬 스크립트 파일 : /etc/rc.d/init.d/rwalld
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,427 조회
- 0 추천
- 목록
본문
데몬 스크립트 파일 : /etc/rc.d/init.d/rwalld
네트워크로 통신이 가능한 다른 서버의 모든 사용자들에게 특정 메시지를 원격서버에서 보낼 수 있는 rwalld데몬을 시작하고 종료할 수 있는 스크립트입니다.
즉, rwalld는 마치 로컬사용자에게 메시지를 전달하는 wall명령어 처럼 원격서버의 모든 사용자들에게 메시지를 전달할 수 있습니다.
이 스크립트에 관련된 명령어들은 이 책의 rwall명령어편을 참조하시기 바랍니다.
사용옵션 : start|stop|status|restart
데몬파일 : /usr/sbin/rpc.rwalld
스크립트 사용예
[root@command init.d]# /etc/rc.d/init.d/rwalld stop Stopping rwalld: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/rwalld start Starting rwalld: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/rwalld restart Stopping rwalld: [ OK ] Starting rwalld: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/rwalld status rpc.rwalld (pid 4790) is running... [root@command init.d]# [root@command init.d]# ps -ef | grep rwalld nobody 4790 1 0 18:31 ? 00:00:00 [rpc.rwalld] root 4799 2340 0 18:31 pts/0 00:00:00 grep rwalld [root@command init.d]# |
관련자료
-
이전
-
다음