데몬 스크립트 파일 : /etc/rc.d/init.d/ntpd
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,372 조회
- 0 추천
- 목록
본문
데몬 스크립트 파일 : /etc/rc.d/init.d/ntpd
ntpd데몬(NTPv4 daemon)을 시작(종료)하는 스크립트입니다.
NTP(Network Time Protocol)은 클라이언트 호스트나 다른서버에서 참조되는 시간을 동기화시키는데 사용됩니다.
사용옵션 : start|stop|restart|condrestart|status
설정파일 : /etc/ntp.conf
데몬파일 : /usr/sbin/ntpd
스크립트 사용예
[root@command init.d]# /etc/rc.d/init.d/ntpd stop Shutting down ntpd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/ntpd start Starting ntpd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/ntpd restart Shutting down ntpd: [ OK ] Starting ntpd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/ntpd status ntpd (pid 2747) is running... [root@command init.d]# [root@command init.d]# ps -ef | grep ntpd ntp 2747 1 0 15:37 ? 00:00:00 [ntpd] root 2764 2340 0 15:37 pts/0 00:00:00 grep ntpd [root@command init.d]# |
관련자료
-
이전
-
다음