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

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

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

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

 

 NFS파일 락킹서비스를 시작(종료,재시작)하는 스크립트입니다. 

 

 

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

 

 

 

 

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

 

스크립트 사용예

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

Stopping NFS statd: [  OK  ]

[root@command init.d]#

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

Starting NFS statd: [  OK  ]

[root@command init.d]#

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

Stopping NFS statd: [  OK  ]

Starting NFS statd: [  OK  ]

[root@command init.d]#

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

rpc.statd (pid 2504) is running...

[root@command init.d]#

 

 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,039 명
  • 현재 강좌수 :  35,848 개
  • 현재 접속자 :  93 명