데몬 스크립트 파일 : /etc/rc.d/init.d/postgresql
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,365 조회
- 0 추천
- 목록
본문
데몬 스크립트 파일 : /etc/rc.d/init.d/postgresql
PostgreSQL 서버데몬을 시작(종료)하는 스크립트입니다.
즉, 데이터베이스에 대한 모든 응답요청을 조절하기위해 PostgreSQL 백엔드(backend) 데몬을 시작하거나 종료하는 데몬 스크립트입니다.
사용옵션 : start|stop|status|restart|condrestart|reload|force-reload
데몬파일 : /usr/bin/postmaster
PID파일 : /var/run/postmaster.pid
스크립트 사용예
[root@command init.d]# /etc/rc.d/init.d/postgresql stop Stopping postgresql service: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/postgresql start Initializing database: [ OK ] Starting postgresql service: [ OK ] [root@command init.d]# [root@command init.d]# ps -ef | grep post postgres 3676 1 0 16:04 pts/0 00:00:00 /usr/bin/postmaster -p 5432 postgres 3678 3676 0 16:04 pts/0 00:00:00 postgres: stats buffer process postgres 3679 3678 0 16:04 pts/0 00:00:00 postgres: stats collector process root 3687 2340 0 16:04 pts/0 00:00:00 grep post [root@command init.d]# |
관련자료
-
이전
-
다음