데몬 스크립트 파일 : /etc/rc.d/init.d/rwhod
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,372 조회
- 0 추천
- 목록
본문
데몬 스크립트 파일 : /etc/rc.d/init.d/rwhod
rwhod는 rwhod데몬이 실행되어 있는 원격서버에 로그인되어 있는 모든 사용자의 로그인 정보를 확인할 수 있는 데몬입니다.
이 데몬의 시작과 종료를 할 수 있는 스크립트입니다.
마치 finger와 비슷하다고 할 수 있습니다.
사용옵션 : start|stop|status|restart
데몬파일 : /usr/sbin/rwhod
스크립트 사용예
[root@command init.d]# /etc/rc.d/init.d/rwhod stop Stopping rwho services: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/rwhod start Starting rwho services: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/rwhod restart Stopping rwho services: [ OK ] Starting rwho services: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/rwhod status rwhod (pid 4863 4862) is running... [root@command init.d]# [root@command init.d]# ps -ef | grep rwhod root 4862 1 0 18:36 ? 00:00:00 rwhod root 4863 4862 0 18:36 ? 00:00:00 rwhod root 4872 2340 0 18:36 pts/0 00:00:00 grep rwhod [root@command init.d]# |
관련자료
-
이전
-
다음