Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C PROGRAM OVER THE MEMORY

Status
Not open for further replies.

jpernia

Technical User
Mar 29, 2002
35
US
Hi, my name is juan, and thie is my question.

I have a aplication that have some program in c, and this aplication is runnig on AIX, Well I need some help because I need know how i can look memori variables that those programs using, I try made a trace but i don't know how on AIX, those program drive a module that lock some acount on oracle (oracle is my database), but in oracle I don't have lock but the aplication have maybe in memory.
 
you may use a debuger on live or post-mortem core of program with debugger, you are missing something if you say there is a lock in client and not in database. - please tell what is wrong and which way it will be right
 
Hi, thnaks a lot , well i don't know how run debugger do you know?, yes there are accounts locks on the aplication but i don't know where it save the information not into the database (Oracle) I cheked, maybe into the memory or anyfile, and is that i need how know where it save.

best regars.
 
i think oracle has some sql file just for looking at DB locks

what do you mean - application locks - how do they lock a user or an application in or out?

you may try to record SQL statements spawned from user side etc etc

a debuger called gdb is hidden somewhere on freeware.bull.net if you dislike one from IBM
although it might be of challenge too hard without program source
 
Hi, thanks a lot for your help i'll try with debuger on AIX, I never have beem used it, but I'll read about.

I can't look the source program because I only have the obj or compile program, but I lokked the documentacion and saw taht this program put on memory variables with information about the account taht one user on one moment are looking if this users go out of the aplication wrong, the account still to stay lock on memory, this is very interesting for me, becuase the only way to unlock the account right now is by the aplication but i want know how to clean by myself.

if you have another suggestion please let me know.

best regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top