If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > SQL Statments

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-02, 04:05
i2c i2c is offline
Registered User
 
Join Date: Oct 2002
Location: Pakistan (Lahore)
Posts: 16
Cool SQL Statments

Hello All

Is there any way to know how many users are currently connected to database and their statu through SQL statment?


wicky
Reply With Quote
  #2 (permalink)  
Old 12-01-02, 18:21
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Yes, it can be done through the System Monitoring Interface (SMI) tables. I believe it is the syssessions table. Since you have not worked with this before, I would spend some time getting acquainted with it and the risks. A good reference book for Informix is The Informix Handbook - it is expensive but worth it ($100) - try bookpool.com for cheap technical books.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On