Hi,
if you dont are for the data or the coruption or kind of thing and
want a immediate shutdown of the server use
uadmin 2 0 ( u will get ok prompt)
or use
uadmin 2 1 ( the server will reboot)
I dont kow much of unix internals but i think init 0 and init 6
internally does call these command. ( can some one help me on this ??)
This is not the greatest way to halt a server but can be handy ...
PS: USE at your risk....
Cheers
/v
Venkat D .................................
Sun Solaris Admin ..
Passing through the Solar System .. Gald you are too .....:-)
---------------------------------------------------------------------
> > Hi All,
> > I am using solaris 2.7.
> > I am using 'init 6' to reboot the system in turn calls
> > /etc/rc6 script for graceful shutdown , /etc/rc6 calls the "killall"
> > command.
> > But 'killall' is not informing through(SIGTERM) signal to all the
> > processes,it is informing to only specific processes as well as it
> > is not killing any processes.
> > I want this 'killall' should send to all the processes including any
> > application which are running on the system and expecting 'SIGTERM'.
> > It will be great if anyone updated me on "killall" process.
> > Is this is bug? or any solaris pathches are required for this.
> Hmm.. rather than answering the question, let me ask another... What
> exactly are you trying to accomplish?
> It sounds like you have a process or processes that are not exiting
> gracefully on reboot/shutdown.
> Rather than rely on killall sending (and more importantly waiting) on a
> signal, you would probably be better off crafting a proper shutdown
> script. If the script in in rc0.d, it will be run during an init 0, 5,
> or 6.