![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I have a requirement where I am suppose to capture all the commands executed by a user. For this i used sysecurity feature by enabling cmdtext auditing. This gave me sufficient information on the commands being executed. But did not give me the value of the parameters being executed with. For E.g. sp_fetchId @name was present in the sysaudits_01 table. But my requirement is sp_fetchId "abc". The application is very complex and many procedures get executed depending on the status at that moment of the application. Everything is automatically triggered from scripts. When ever there is any problem in the system, its becoming a nightmare for me for debugging. I would like to know, is there any way to capture the values of the variables being passed. Or is there any other feature for acheciveing this. No third party tools please - I was thinking of implementing simple software which after enabling gives me some log, by which it should be possible to know what is being executed in the system. Thanks a lot for reading this message, -Zia |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi , Our application is all script based, where lot of sessions are opened and closed. Can any one have any idea how it can be done? I would be interested in capturing the timestamp, the database, database object and if it is stored procedure it should be possible to get the parameters value which is not possible with sybsecurity auditing. |
#5
| |||
| |||
|
|
Hi , Our application is all script based, where lot of sessions are opened and closed. Can any one have any idea how it can be done? I would be interested in capturing the timestamp, the database, database object and if it is stored procedure it should be possible to get the parameters value which is not possible with sybsecurity auditing. Thanks -Zia |
#6
| |||
| |||
|
|
moh_muj (AT) yahoo (DOT) com (Zia) wrote in message news:<f5db6e5c.0312110649.77e35214 (AT) posting (DOT) google.com>... Hi , Our application is all script based, where lot of sessions are opened and closed. Can any one have any idea how it can be done? I would be interested in capturing the timestamp, the database, database object and if it is stored procedure it should be possible to get the parameters value which is not possible with sybsecurity auditing. Check out sqlpower.com Michael Heaney TIGR |
#7
| |||
| |||
|
|
moh_muj (AT) yahoo (DOT) com (Zia) wrote in message news:<f5db6e5c.0312110649.77e35214 (AT) posting (DOT) google.com>... Hi , Our application is all script based, where lot of sessions are opened and closed. Can any one have any idea how it can be done? I would be interested in capturing the timestamp, the database, database object and if it is stored procedure it should be possible to get the parameters value which is not possible with sybsecurity auditing. Thanks -Zia Hello, why don't you use Sybase Monitor&History servers? It comes in ASE installation and you can configure it to store queries(with parameters) as well as hell of performance information. I can send you sample scripts, let me know if you need them. Regards, yurick |
#8
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |