Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Thomas J. Girsch — — source: Informix-list mailing list archive (1991-1998)
If you do an onstat -g sql, there is a column that tells you which database
each session is connected to. So you could do an "onstat -g sql | grep
<db>" to see which sessions are accessing a particular database.
Sean Gilmour wrote in message <3655FF8E.AC274878@css.mot.com>...
>Hi Nicole,
> If you run a onstat -g ses # of the session id at the bottom it will
>tell you the current database for that session id.
>
>Nicole Guffey wrote:
>
>> Is there a utility, or a piece of code, that identifies which
>> database (or even dbspace) a session is accessing?
>>
>> Thank You,
>> Nicole Guffey
>> Nguffey@jdriscoll.com
>
>
>
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.