At 19.42 26/3/01 +0200, you wrote:
>Mahesh Guleria writes:
>
> > Use these commands :
> >
> > ps -ef|grep post
> > kill -9 [process id]
>
>Don't do that, it might destroy your database. SIGTERM should be used to
>kill individual backends.
>
>--
>Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
>
You can do it like this:
killall -TERM postmaster
or
kill -TERM `pidof postmaster`
The SIGTERM signal can be trapped by a process and when is invoked the
process can close all the opened resources like files and pipes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Lizano - Director área técnica
correo-e: david.lizano@izanet.com
I Z A N E T - Servicios integrales de internet.
web: http://www.izanet.com/
Dirección: C/ Checa, 57-59, 3º D - 50.007 Zaragoza (España)
Teléfono: +34 976 25 80 23 Fax: +34 976 25 80 24
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~