Application programmation ?

User avatar
frank
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3386
Joined: 06 Jul 2004 00:18
Location: New York
Contact:

Post by frank »

goldy wrote:mem & disk will not be synced.
How did you figure this out ?
Can you show me an example of you code ? :_)
Code Free Or Die
goldy
Member
Posts: 150
Joined: 30 Aug 2004 02:16
Location: Australia

Post by goldy »

it i basically just sql, so you can use alot of common instructions. There is a couple of tech comms available on the BPWS that explain some small parts. I just expanded on that, I have fixed a few databases successfully using it.

My code is basically just a shell script using standard shell language, I never really got much further with it, only some real basic functions. I will see if I can find an example for you :D
User avatar
tot3nkopf
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 4058
Joined: 02 Feb 2006 10:41
Location: Germany & Romania
Contact:

Post by tot3nkopf »

I've used cuser for fixing some bugs . Basicaly if you want to learn diferent commands upon the database put a trace on mgr and simply perform a task in mgr (for example deleting a user) and you will see all the commands which are performed upon the database.
You can then do the same thing directly on the DB.
To put a trace:
srvtrace
traced &

To stop it kill the PID.

Hope that helps you.
User avatar
frank
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3386
Joined: 06 Jul 2004 00:18
Location: New York
Contact:

Post by frank »

Thanks a lot.
I'll try later.. :-)
Code Free Or Die
Post Reply

Return to “GENERAL”