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 > how to find external users

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-06, 05:30
calyan calyan is offline
Registered User
 
Join Date: Jan 2004
Posts: 28
how to find external users

there are some external apps accessing my db. ok


i am able to see the audit activities for the users who are
internally using the db, that is using dbaccess.


but some VB apps, even nobody knows who are using it.accessing
this db.


how to find those users?
Reply With Quote
  #2 (permalink)  
Old 09-20-06, 09:53
Tyveleyn Tyveleyn is offline
Registered User
 
Join Date: Aug 2006
Location: The Netherlands
Posts: 248
Hi,

In a UNIX system 'onstat -u' produces:
Code:
Userthreads                                                                     
address  flags   sessid   user     tty      wait     tout locks nreads   nwrites
                                                                                
2a48ad48 Y--P--- 7808     user1    PC16     2be73a50 0    1     234      86     
2a48b338 Y--P--- 7839     user1    1        2bf42b88 0    1     0        0      
2a48d6d8 Y--P--- 7801     user2    PC24     2ba3c698 0    1     2        74
where under tty either the to the loginsession assigned terminal id (in this case '1' for user1) or the hostname ('PC16' and 'PC24' for user1 and user2) are shown. Since VB is typically a client application I guess through this these sessions are distinguishable from (local) dbaccess sessions. Don't know right now what it looks like in Windows...

Regards

Last edited by Tyveleyn; 09-20-06 at 09:56.
Reply With Quote
  #3 (permalink)  
Old 09-21-06, 05:42
calyan calyan is offline
Registered User
 
Join Date: Jan 2004
Posts: 28
thanks for info
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