nv-l
[Top] [All Lists]

RES: (NV) - Export DISPLAY

To: nv-l@lists.tivoli.com
Subject: RES: (NV) - Export DISPLAY
From: Jose Roberto Antunes <antunes@telesc.com.br>
Date: Wed, 29 Mar 2000 14:13:02 -0300
James,

I'll use the "-d" flag, this solve my problem.

Thank you!
José Roberto Antunes.



        -----Mensagem original-----
        De:     James_Shanks@tivoli.com [mailto:James_Shanks@tivoli.com]
        Enviada em:     quarta-feira, 29 de março de 2000 12:16
        Para:   IBM NetView Discussion
        Assunto:        Re: [NV-L] (NV) - Export DISPLAY



        I am not sure I understand what you are asking.  Of course you could
always
        write a two line script which exports the display to whatever you
pass in,
             #!/bin/ksh
             export DISPLAY="$1:0.0"
             ovxecho  <message>
        or you could use the "-d" flag on ovxecho without exporting the
display:
             #!/bin/ksh
             ovxecho -d "$1:0.0"  <message>
        And you could make your script more complicated so that you could
pass in
        multiple destinations and have it loop through them.  But most of
the time, the
        locations you want the pop-ups to go are well-known in advance.  So
you could
        just issue
        multiple ones in the same script:
             ovxecho -d <joe's machine>:0.0  <message>  &
             ovxecho -d <mary's machine>:0.0 <message> &
             ovxecho -d <bill's machine>:0.0 <message>
        Make sure you use the "&" to make them background tasks else the
second will not
        start until the first one is complete (acknowledged by the intended
operator),
        and the third won't start until the second one is complete.  When
you
        "background" them they execute in parallel.

        James Shanks
        Tivoli (NetView for UNIX and NT) L3 Support



        Jose Roberto Antunes <antunes@telesc.com.br> on 03/29/2000 09:43:47
AM

        Please respond to IBM NetView Discussion <nv-l@tkg.com>

        To:   "'nv-l@tkg.com'" <nv-l@tkg.com>
        cc:    (bcc: James Shanks/Tivoli Systems)
        Subject:  [NV-L] (NV) - Export DISPLAY




        Hi everbody,

        I would like to run the shell script with ovxbeep and ovxecho on the
action
        block of the ruleset.
        Is there a way to export DISPLAY for more of one desktop without
changes the
        script/ruleset.

        Thanks in Advance
        Antunes
        
_________________________________________________________________________

        NV-L List information (unsubscribing, policies, posting, digest
version,
        searchable archives): http://www.tkg.com/nv-l




        
_________________________________________________________________________

        NV-L List information (unsubscribing, policies, posting, digest
version,
        searchable archives): http://www.tkg.com/nv-l


<Prev in Thread] Current Thread [Next in Thread>
  • RES: (NV) - Export DISPLAY, Jose Roberto Antunes <=

Archive operated by Skills 1st Ltd

See also: The NetView Web