Re: How to check postgres running or not ?

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: How to check postgres running or not ?
Дата
Msg-id cihv80$mb2$1@floppy.pyrenet.fr
обсуждение исходный текст
Ответ на How to check postgres running or not ?  ("Sandeep Gaikwad" <sgaikwad@vertex.co.in>)
Список pgsql-sql
Sandeep Gaikwad wrote:
> 
> Hello Sir,
>                I want to know how to check whether postgres database is 
> running or not ? when  I give command like ./postmaster -i &, whether 
> all databases in that postgres will run or any one [default] ? If any 
> one, then how to detect that database ?

Well, in the $DATADIR you habe postmaster.pid that contains the supposed pid...




Regards
Gaetano Mendola




В списке pgsql-sql по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: How to check postgres running or not ?
Следующее
От: Worik
Дата:
Сообщение: Re: How to check postgres running or not ?