start monitoring with Java program 
Author Message
 start monitoring with Java program
Dear forumers,

In CLP, I can use "db2 update monitor switches using xxxx ON".  How can I do
it in Java applications?
Thanks for any advice in advance.

--
Best Regards,
Jacky Ng



Mon, 09 Aug 2004 10:28:35 GMT
 start monitoring with Java program

Jacky,

You can't do it directly from Java.  You'll need to use JNI to call the
DB2 API's (i.e. db2MonitorSwitches()).  See the "System Monitor Guide"
for other API's you might need.

Quote:

> Dear forumers,

> In CLP, I can use "db2 update monitor switches using xxxx ON".  How can I do
> it in Java applications?
> Thanks for any advice in advance.

> --
> Best Regards,
> Jacky Ng


--
====================================
To reply, delete the 'x' from my email

Jerry Stuckle
JDS Computer Training Corp.

====================================



Mon, 09 Aug 2004 21:43:51 GMT
 start monitoring with Java program
Jerry,

Thanks.   Actually, I am already using JNI to do it.  I just want to know if
there are some simpler methods to code it.

Jacky

Quote:
> Jacky,

> You can't do it directly from Java.  You'll need to use JNI to call the
> DB2 API's (i.e. db2MonitorSwitches()).  See the "System Monitor Guide"
> for other API's you might need.


> > Dear forumers,

> > In CLP, I can use "db2 update monitor switches using xxxx ON".  How can
I do
> > it in Java applications?
> > Thanks for any advice in advance.

> > --
> > Best Regards,
> > Jacky Ng

> --
> ====================================
> To reply, delete the 'x' from my email

> Jerry Stuckle
> JDS Computer Training Corp.

> ====================================



Fri, 13 Aug 2004 15:05:34 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. ---JAVA-----JAVA-----JAVA-----JAVA-----JAVA-----JAVA-----JAVA-----JAVA---

2. How to tell if a program was started by another program

3. CGI programming using JAVA (comparing JAVA & Perl)

4. SQL Monitor won't start

5. How to start monitoring SQL server

6. SQL Monitor fail to start.

7. Sybase 10 monitor won't start

8. Cannot start Monitor Server (ASE 11.9.2/Solaris 2.7), please advise

9. HELP: cannot start monitor server

10. Can't start Monitor Service or Log in

11. Can't start SQL Monitor

12. Can't start SQL Monitor


 
Powered by phpBB® Forum Software