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

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

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

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

 

 네트워크로 통신이 가능한 다른 서버에 어떤 사용자들이 로그인되어 있는가를 확인할 수 있는 rusersd데몬을 시작하고 종료할 수 있는 스크립트입니다. 

 

 

 

 

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

 

 

 

 

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

 

데몬파일 : /usr/sbin/rpc.rusersd

 

스크립트 사용예

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

Stopping rusers services: [  OK  ]

[root@command init.d]#

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

Starting rusers services: [  OK  ]

[root@command init.d]#

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

Stopping rusers services: [  OK  ]

Starting rusers services: [  OK  ]

[root@command init.d]#

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

rpc.rusersd (pid 4725) is running...

[root@command init.d]#

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

nobody    4725     1  0 18:27 ?        00:00:00 [rpc.rusersd]

root      4740  2340  0 18:27 pts/0    00:00:00 grep rusersd

[root@command init.d]#

 

 

 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,041 명
  • 현재 강좌수 :  35,855 개
  • 현재 접속자 :  99 명