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

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

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

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

 

 SMARTD(Self Monitoring and Reporting Technology)는 자체모니터링(Self-Monitoring)과 자체 분석(Self-Analysis) 리포팅기술 시스템 데몬입니다. 

 

 

 이 기술은 디스크드라이브 장애(에러)를 미리 알려줄 수 있도록 하여 신뢰성을 점검하는데 주로 사용됩니다. 

 

 

 

 

그리고 SMARTD 데몬에 의한 에러메시지는 SYSLOG인터페이스(참고 : 설정파일 /etc/syslog.conf, 관련데몬 : /sbin/syslogd)를 이용하여 관리자에게 알려지도록 구현되었있습니다. 

 

 

 

 

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

 

데몬파일 : /usr/sbin/smartd

 

스크립트 사용예

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

Shutting down smartd: [  OK  ]

[root@command init.d]#

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

Starting smartd: [  OK  ]

[root@command init.d]#

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

Shutting down smartd: [  OK  ]

Starting smartd: [  OK  ]

[root@command init.d]#

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

smartd (pid 5348) is running...

[root@command init.d]#

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

root      5348     1  0 19:00 ?        00:00:00 /usr/sbin/smartd

root      5391  2340  0 19:01 pts/0    00:00:00 grep smartd

[root@command init.d]#

 

 

 

관련자료

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

공지사항


뉴스광장


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