Re: Number of Connections

Tim Barnard <tbarnard@povn.com>

From: "Tim Barnard" <tbarnard@povn.com>
To: "John Burski" <John.Burski@911ep.com>
Cc: "pgsql-general" <pgsql-general@postgresql.org>
Date: 2001-02-17T00:22:33Z
Lists: pgsql-general
Thanks.

Tim

----- Original Message ----- 
From: "John Burski" <John.Burski@911ep.com>
To: "Tim Barnard" <tbarnard@povn.com>
Cc: "pgsql-general" <pgsql-general@postgresql.org>
Sent: Friday, February 16, 2001 2:47 PM
Subject: Re: [GENERAL] Number of Connections


> The "-v" option tells grep to select everything EXCEPT the following
> term.  Therefore, the "grep -v grep" section of the piped commands will
> delete the "extra" line (the one generated by the "grep postgres"
> command) that the ps command spits out prior to piping it into the "wc
> -l" command.
> 
> Tim Barnard wrote:
> 
> > What's the purpose of the "grep -v grep" ?
> >
> > Tim
> >