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.
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
Bob Gorman wrote:
>
> How can I query the Informix Dynamic Server inorder to determine the
> number of users/sessions connected to a particular database environment?
Use 'onstat -g ses' or 'onstat -u' to just look at connected sessions.
To see who is connected to what database use 'onstat -g sql' but
beware!
On a busy server with more than a few dozen users this command may hang
forever because the sysmaster tables that it queries are changing so
fast the onstat will chase the tail of the table until the end of time.
Less of a problem on a single CPU machine more so on SMP or Numa
machines.
Art S. Kagel
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.