You might want to hack a simple perl script using the perl module DBD::DB2
(available at www.cpan.org).  You can use some of the other mon perl scripts
in mon.d as templates for parsing imputs and sending output.  There's
probably some mon perl script out there that uses DBI-DBD to perform a
simple login and query of a database sucha as MySQL or Oracle;  to adapt it
to DB2 would simply be a matter of substituting the DBD driver module with
DBD::DB2 and checking to make sure that all the methods called in the script
are supported in the DB2 module (chances are that they are).

-- Scott

Scott Prater
Dpto. Sistemas
[EMAIL PROTECTED]

SERVICOM 2000
Av. Primado Reig, 189 entlo.
46020 Valencia - Spain
Tel. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
www.servicom2000.com




> -----Mensaje original-----
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> nombre de Rafe Slattery
> Enviado el: viernes, 29 de agosto de 2003 12:03
> Para: [EMAIL PROTECTED]
> Asunto: db2 monitor
>
>
> Hi,
>
> I am looking for a mon db2 monitor... Does such a beast exist? Its not
> in the all contrib, that I could find, and a search of the mailing list
> turned up nothing as well.
>
> In an ideal world I would like something to do a login and something
> like a show database or maybe a quick select to make sure all is well. I
> would like to go beyond a simple port connect/disconnect.
>
> Regards,
>
> Rafe Slattery
>
>
> _______________________________________________
> mon mailing list
> [EMAIL PROTECTED]
> http://linux.kernel.org/mailman/listinfo/mon
>

_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to