nv-l
[Top] [All Lists]

Re: [nv-l] Command entry in registration file

Subject: Re: [nv-l] Command entry in registration file
From: "George deSocio" <desocio@us.ibm.com>
Date: Wed, 30 Jan 2002 08:23:30 -0500
Cc: NetView Discussion <nv-l@lists.tivoli.com>
Robin, try removing "-Shared" from the reg command stanza.  It doesn't seem
appropriate for a shell script.

George de Socio

E-Mail address:   desocio@us.ibm.com

Tivoli NetView for UNIX & NT Support
IBM Dept E1Z  B510  R2A18
PO Box 12195
3039 Cornwallis Rd
RTP  NC  27709
Ph: 919-224-1357  Fax: 919-224-2530
Need help with Tivoli software?
Ask Tivoli !  http://www.tivoli.com/asktivoli



                                                                                
                                             
                      Robin James                                               
                                             
                      <robin.james@thal        To:       NetView Discussion 
<nv-l@lists.tivoli.com>                          
                      esatm.com>               cc:                              
                                             
                                               Subject:  [nv-l] Command entry 
in registration file                           
                      01/30/2002 03:35                                          
                                             
                      AM                                                        
                                             
                                                                                
                                             
                                                                                
                                             



We have added several options to the Netview tools menu and window using
application registration files. Most of these tools are X window
applications and the command used to invoke the application is a script
which sets up environment variables. An example is:

    Action App {
        Command -Shared "/usr/sbin/app_behaviour.sh";
    }

Now these scripts can generate output via echo commands. We have
observed odd behaviour when after a prolonged login (to UNIX) session
the applications cannot be invoked from the tools menu or window. Logout
and login, or stopping and starting Netview seem to cure the problem. It
is still a puzzle as to why the applications cannot be started when this
happens but fortunately it occurs infrequently.

I was reading the Netview for UNIX Programmer's Guide and it says here
that "Commands that are tty-based (non-X Window applications) must be
run in an X-terminal window."

Would you count a script that can do echo commands as tty-based and
might this be the cause of our problem?

--
Robin
email: robin.james@thalesatm.com
tel:   +44 (0) 1633-862020
fax:   +44 (0) 1633-868313

---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)





<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web