Subject Re: [ib-support] Number of connections
Author C R Zamana
Paul Reeves wrote:
>
> C R Zamana wrote:
> >
> >
> > Please, how can I know the number of users currently connected
> > to my database?
> >
> > I need some function in ESQL/C or API/C.
> >
>
> This is only available under Super Superver. You need to look at the
> isc_database_info call. You have to pass in 'isc_info_user_names' and count how
> many user names are returned in the buffer.

Thank you. That's what I need.

Best regards.


--
---------------------------------------------------------------------------
zamana@... | "For a list of the ways which technology has
zamana@... | failed to improve our quality of life, press 3"
http://www.inso.com.br | Phil Reed, on Slashdot
---------------------------------------------------------------------------