Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: OCI and pinging.

Re: OCI and pinging.

From: Kumar, Sai (EXCHANGE:PERPK:3374) <saikumar_at_nortel.com>
Date: Thu, 29 Apr 1999 14:22:02 -0400
Message-ID: <3728A34A.C60A285D@nortel.com>


Joel Garcia wrote:

> Does anyone know how to ping an Oracle Server to make sure that it's
> listener is up and running via the OCI or some other programming mechanism?
> I'd like my app to ping the server before connecting.
>
> Thanks in advance,
> Joel

Oracle has got something called tnsping the format of using it from a client is as follows :-

tnsping <servicename> <no. of times>

This will give u the status of the listener.

Thanks
Sai Received on Thu Apr 29 1999 - 13:22:02 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US