Subject | Re: [ib-support] Number of connections |
---|---|
Author | C R Zamana |
Post date | 2001-07-20T12:38:10Z |
Paul Reeves wrote:
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
---------------------------------------------------------------------------
>Thank you. That's what I need.
> 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.
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
---------------------------------------------------------------------------