Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: OCI and pinging.
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
![]() |
![]() |