Solved

Record response time of client/server application

Posted on 2001-07-30
2
265 Views
Last Modified: 2013-12-26
I want to develop PowerBuilder server application that can record IP address, Process start time, Process stop time, Object ,activity and duration used in that activity. I want to develop in client/server style. Please suggest me.
Best regards,
Wiraporn
0
Comment
Question by:Wiraporn
2 Comments
 
LVL 3

Expert Comment

by:hink
Comment Utility
You are able to get system date and time by today() and now() functions. The CPU time since application start can be obtained using cpu() function.

You can call this functions for example in object constructor and destructor event (process start or stop) and record it or its difference.
0
 
LVL 2

Accepted Solution

by:
Ariel Garcia earned 150 total points
Comment Utility
Well, if this are for administration only, i make on this way

1.- Make a Database special for this propouse (maybe are to much control and your bandwith are not enog)

2.- You need some special functions APIS, to get the machine name, IpAddress, And User logged on Windows.

3.- The Client Machine Must Send this data to this Special DB Adm.

4.- The Server Side must to see if a Client is Alive and the client must send a repeadtly and at defined time one signal to the server and inform i alive ( This intention is for control when one client are disconectes without inform to the server.

5.- Try to make a secund transaction....

Let me say you someting, the server side can make some functions for this, he know when the user conect and disconect, and what are using the client then make some administrative scripts for registering those operations.

See the demo client-server app with PB6
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now