Re: [GENERAL] hard shutdown of system

2006-04-17 Thread Tom Lane
"surabhi.ahuja" <[EMAIL PROTECTED]> writes: > the user tries to do kill -9 -1 and log in again The *first* thing you gotta do is retrain your user. kill -9 is never the appropriate way to shut down the postmaster. The script mods you describe seem to be oriented at forcing the postmaster to rest

Re: [GENERAL] hard shutdown of system

2006-04-17 Thread surabhi.ahuja
Title: Re: [GENERAL] hard shutdown of system hi,   yah i took this script only and built upon that   the problem is that the statement "pidof postmaster"   will return some valu even if   ps -aef | grep postmaster does not return anything   if i do kill -9   and i do pidof

Re: [GENERAL] hard shutdown of system

2006-04-17 Thread chris smith
On 4/17/06, surabhi.ahuja <[EMAIL PROTECTED]> wrote: > > the user tries to do kill -9 -1 and log in again > > in the startup script i do the following > > /sbin/pidof -s postmaster > > and it still displays some value, > > however ps -aef | grep postmaster does not display anything > > is it ok if