Re: How to use tnsping programmatically
From: <johnbhurley_at_sbcglobal.net>
Date: Sun, 19 Apr 2009 10:34:51 -0700 (PDT)
Message-ID: <8537b027-4b8b-4778-b77a-083933407830_at_v15g2000yqn.googlegroups.com>
On Apr 8, 4:35 am, "Strange Cat _at_ Work" <du..._at_dummy.com> wrote:
> Hello everyone,
>
> I'd like to know if it is possible to use tnsping programmatically in order
> to check if Oracle server is available... I've been asked not to continuosly
> try connection and disconnection in order to save network/system resources.
>
> I will be using DotNet 2.0SP1 but any clue is welcome.
>
> Thanx in advance
> Paolo
Date: Sun, 19 Apr 2009 10:34:51 -0700 (PDT)
Message-ID: <8537b027-4b8b-4778-b77a-083933407830_at_v15g2000yqn.googlegroups.com>
On Apr 8, 4:35 am, "Strange Cat _at_ Work" <du..._at_dummy.com> wrote:
> Hello everyone,
>
> I'd like to know if it is possible to use tnsping programmatically in order
> to check if Oracle server is available... I've been asked not to continuosly
> try connection and disconnection in order to save network/system resources.
>
> I will be using DotNet 2.0SP1 but any clue is welcome.
>
> Thanx in advance
> Paolo
Why not just use "ping" not tnsping to see if a server is available? Received on Sun Apr 19 2009 - 12:34:51 CDT