I am trying to figure out a way to exit Netview map gracefully along with my
own applications. My own applications do not need to connect to "ovw" at all
(i.e. no need of OVwInit() call).
By reading the programmer's guide , my understanding is that I may use
following appproach,
1. Find out my own "ovw" process and stop it with kill -9 < my ovw process>.
This can be implemented by using a shell script file in the UNIX
environment. But I am not sure what are the side effects ? This is a very
simple approach and it works so far.
Do I need to make sure the Netview database is closed properly at all ? If
so, what is the proper Netview command to use ?
2. Find out and use Netview API calls to implement something like " f.exit"
used in the ovw registration file. I have not found the proper call yet.
3. By following Netview process management method so "ovstatus" can even
monitor my own applications process. So hopefully, when I exit Netview map,
my applications will exit too.
Thanks for any comment and direction.
|