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

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

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

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

 

 네임서비스 캐쉬데몬(Name Service cache Daemon)을 시작하는 스크립트입니다. 

 

 

 NSCD데몬은 가장일반적인 네임서비스에 대한 캐쉬기능을 제공하는 데몬으로서 /etc/passwd, /etc/group, /etc/hosts파일등에 대한 캐쉬정보를 가지고 있습니다. 

 

 

 NSCD데몬의 설정파일은 /etc/nscd.conf입니다. 

 

 

 

 

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

 

데몬파일 : /usr/sbin/nscd

설정파일 : /etc/nscd.conf

 

스크립트 사용예

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

Stopping nscd: [  OK  ]

[root@command init.d]#

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

Starting nscd: [  OK  ]

[root@command init.d]#

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

Stopping nscd: [  OK  ]

Starting nscd: [  OK  ]

[root@command init.d]#

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

nscd (pid 2647) is running...

[root@command init.d]#

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

nscd      2647     1  0 15:31 ?        00:00:00 [nscd]

root      2668  2340  0 15:31 pts/0    00:00:00 grep nscd

[root@command init.d]#

 

 

 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,045 명
  • 현재 강좌수 :  35,861 개
  • 현재 접속자 :  79 명