Skip site navigation (1) Skip section navigation (2)

Re: How to check postgres running or not ?

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to check postgres running or not ?
Date: 2004-09-19 16:57:48
Message-ID: 20040919165748.GB15746@phlogiston.dyndns.org (view raw or flat)
Thread:
Lists: pgsql-sql
On Sun, Sep 19, 2004 at 12:25:00PM -0400, Tom Lane wrote:
> 	ps aux | grep postmaster | grep -v grep
> (or use "ps -ef" if using a SysV-ish ps).

Except that on Solaris, ps -ef _always_ shows "postmaster", even for
the individual back ends.

A

-- 
Andrew Sullivan  | ajs(at)crankycanuck(dot)ca
In the future this spectacle of the middle classes shocking the avant-
garde will probably become the textbook definition of Postmodernism. 
                --Brad Holland

In response to

Responses

pgsql-sql by date

Next:From: Tom LaneDate: 2004-09-19 16:58:57
Subject: Re: ORDER BY and NULLs
Previous:From: T E SchmitzDate: 2004-09-19 16:36:36
Subject: Re: ORDER BY and NULLs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group