Hi all,
I need to shutdown the db using a script. I have used the command $DLC/bin/proshut <db name> but it will ask for the user input
1 Disconnect a User
2 Unconditional Shutdown
3 Emergency Shutdown (Kill All)
x Exit
How can i skip this screen and go for 2 option, Unconditional Shutdown directly to stop the db.
Add the -by option at the end of the command:
$DLC/bin/proshut -by
Is it for Unconditional Shutdown ?
What should be the paramater if i need to go for Emergency Shutdown (Kill All) ?
-by is indeed for unconditional shutdown, while -F is for emergency shutdown... as stated in OE Knowledge Base P3222
As oliver pointed out, you can use -F for an emergency shutdown. I would not use it indiscriminately though because it is rather harsh and abrupt, giving users little warning.
In fact, I would go so far as to say that -F should either require manual intervention or it should be behind something like password or at least "are you really sure you want to do this?" protection so that it is not used casually and routinely.
+1
On 12/6/11 12:37 PM, "progresscommunities"