데몬 스크립트 파일 : /etc/rc.d/init.d/atd
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,284 조회
- 0 추천
- 목록
본문
데몬 스크립트 파일 : /etc/rc.d/init.d/atd
at명령어에 의해 설정되어 있는 시간에 정의되어 있는 작업을 실행시키는 데몬 스크립트입니다.
또한 시스템부하(load average)가 낮을 경우에 배치명령(batch commands)를 실행하도록 하는 데몬 스크립트입니다.
이 스크립트에 관련된 명령어들은 이 책의 at, atd, atq, atrm명령어편을 참조하시기 바랍니다.
사용옵션 : start|stop|restart|condrestart|status
프로세스명 : atd
기타 : /var/lock/subsys/atd
스크립트 사용예
[root@command init.d]# /etc/rc.d/init.d/atd start Starting atd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/atd restart Stopping atd: [ OK ] Starting atd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/atd stop Stopping atd: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/atd status atd (pid 2794) is running... [root@command init.d]# [root@command init.d]# ps -ef | grep atd rpcuser 1560 1 0 09:15 ? 00:00:00 [rpc.statd] daemon 2794 1 0 10:15 ? 00:00:00 [atd] root 2811 2007 0 10:16 pts/0 00:00:00 grep atd [root@command init.d]# |
관련자료
-
이전
-
다음