Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Track number of users for an app with FireBird backend
Message
 
To
08/03/2009 15:05:54
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Firebird
Application:
Desktop
Miscellaneous
Thread ID:
01386440
Message ID:
01386557
Views:
40
Hi dorin

>Version 2.1 has virtual monitoring tables, you can query mon$attachments table for connections to database, or mon$statements for sql queries. But this feature need database structure upgrade to last version.

Wow, that has helped!

I believe I can look for unique MON$REMOTE_ADDRESS to know the number of users, becuase MON$REMOTE_PID generates one for each application instance even on the same computer.

As for MON$STATEMENTS what is the logic behind it? I think I can see only SQL-PT made from VFP but not the RV sql statements of VFP. Please correct me if I am wrong.

Thanks a lot.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform