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

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

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

데몬 스크립트 파일 : /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]#

 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,042 명
  • 현재 강좌수 :  35,844 개
  • 현재 접속자 :  173 명