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

데몬 스크립트 파일 : /etc/rc.d/init.d/netdump-server

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

데몬 스크립트 파일 : /etc/rc.d/init.d/netdump-server

 

 netdump서버데몬을 시작(종료,재시작)하는 스크립트입니다. 

 

 

 

 

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

 

PID파일 :   /var/run/netdump-server.pid

설정파일 :  /etc/netdump.conf

데몬파일 :  /usr/sbin/netdump-server

 

스크립트 사용예

[root@command init.d]# /etc/rc.d/init.d/netdump-server stop

Stopping netdump server: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/netdump-server start

Starting netdump server: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/netdump-server restart

Stopping netdump server: [  OK  ]

Starting netdump server: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/netdump-server status

netdump-server (pid 2539) is running...

[root@command init.d]#

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

netdump   2539     1  0 23:25 ?        00:00:00 /usr/sbin/netdump-server --daemon

root      2548  1993  0 23:25 pts/0    00:00:00 grep netdump

[root@command init.d]#

 

 

 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,034 명
  • 현재 강좌수 :  35,791 개
  • 현재 접속자 :  239 명