Well, init takes one numeric argument (level) and ignores everything else.
That means that the command init 0 "Please log off the database" has the
same effect as init 0. Trust me, users will get the message. Did you see
the <BOFH></BOFH> flags?
On 11/26/2003 02:09:24 AM, nelson flores wrote:
> Isn't the wall utility used to send a message to everyone in Unix/Linux?
> i.e 
> 
> wall "This Database will Self Destruct in 5 seconds ...."
> 
> (although the utility has been removed from some systems due to some
> security problems a.k.a root exploit)
> 
> p.d : What's Outlook Express??? ;)
> 
> 
> 
> -----Original Message-----
> Mladen Gogala
> Sent: Tuesday, November 25, 2003 6:39 PM
> To: Multiple recipients of list ORACLE-L
> 
> <BOFH>
> On unix, there is a utility called "init". You should log in as root and
> 
> type the following:
> 
> init 0 "please log off the oracle database" 
> 
> and everybody will get the message.
> </BOFH>
> 
> Other then that, you could use an exotic utiity called "Outlook Express"
> to schedule a database shutdown a week in advance and put the
> maintenance 
> times on your internal web page.  The chosen times should be offpeak so
> that the normal business can continue. When you inform everybody and
> schedule 
> downtime in advance, then you simply shut the database down, say, on
> Saturday, 18:00
> hours. In other words, your problem is organizational, not technical. If
> you need to shut the
> database down immediately for whatever reason there is a gadget called
> "a telephone".
> It works like this:  every company has a person called "CIO" (stands for
> "Career Is Over").
> When you need to shut down a database that is critical for business
> during the working hours
> then you tell your boss to call the CIO, and if he's not around, you
> tell your boss/director to page 
> him (they usually cary beepers). He will then either inform his peers in
> the business process or 
> schedule a conference call to pass the good news to the business. You
> are probably going to
> be on that conference call so better be prepared to argue  why is
> shutting down the database 
> critical or you will be in a very bad predicament. After that, no
> further information is necessary. 
> You just do what needs to be done. 
> In other words, shutting down an important database is not a DBA
> decision but a decision made
> by people who manage the normal business process.  Those people are
> sometimes referred to 
> as "management". They are the ones who make decisions and define
> schedule.
> 
> 
> On 2003.11.25 20:49, [EMAIL PROTECTED] wrote:
> > hi, 
> > 
> > I need to send messages like 'system shutting down in 1 min' to all
> users 
> > currently login.
> > How can i do this in oracle or a third party software that i can use?
> users 
> > are connected using web browser. Messages are send over the wan. 
> > 
> > thanks. 
> > -- 
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > -- 
> > Author: 
> >   INET: [EMAIL PROTECTED]
> > 
> > Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> > San Diego, California        -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from).  You may
> > also send the HELP command for other information (like subscribing).
> > 
> 
> -- 
> Mladen Gogala
> Oracle DBA
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Mladen Gogala
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: nelson flores
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 

Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only.  It may contain confidential, 
proprietary or legally privileged information.  No confidentiality or privilege is 
waived or lost by any mistransmission.  If you receive this message in error, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it and notify the sender.  You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to 
monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where 
the message states otherwise and the sender is authorized to state them to be the 
views of any such entity.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to