checking the heartbeat of the online user


 
Thread Tools Search this Thread
Top Forums Programming checking the heartbeat of the online user
# 1  
Old 10-11-2002
Question checking the heartbeat of the online user

hello,
Can anyone please tell me how can i check the availability of the online user in a client-server environtment.
This is for a program where lakhs of client are connected to the server and the server has to check the availability of the every client in every minute.
So polling every client is not a good option.
Can anyone help me for the solution.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Checking the user input in perl for characters and length

My question is basically as the title says. How can I check a user inputted string is only certain characters long (for example, 3 characters long) and how do I check a user inputted string only contains certain characters (for example, it should only contain the characters 'u', 'a', 'g', and 'c')... (4 Replies)
Discussion started by: Eric1
4 Replies

2. Shell Programming and Scripting

TCSH user input error checking

This was taken down recently because it appeared to be homework, but it isn't. It's for a script I am working on at work. Thanks for the help. How do you check that user inputs (arguments 1 and 2) are both numbers and are at least 5 digits in length? (2 Replies)
Discussion started by: thibodc
2 Replies

3. UNIX for Dummies Questions & Answers

is there a command to see when the last time a user has been online if they arent?

When I use who it shows who is online and from what time they logged in but is there a way I can see the last time someone was logged on if they aren't online? Is it with the who command? thx (11 Replies)
Discussion started by: subway69
11 Replies

4. AIX

hacmp - is it possible to remove a disk heartbeat network from an online cluster?

Hi I'm a little rusty with HACMP, but wanted to find out if it is possible to remove a disk heartbeat network from a running HACMP cluster. Reason is, I need to migrate all the SAN disk, so the current heartbeat disk will be disappearing. Ideally, I'd like to avoid taking the cluster down to... (2 Replies)
Discussion started by: cmcbugg
2 Replies

5. UNIX for Advanced & Expert Users

time duration of being online of a particular user given the user name

in a multi user system of 3 users X,Y,Z, if i know that X is presently online, is it possible to determine for how long has he been online? i mean the time duration (3 Replies)
Discussion started by: arindamlive
3 Replies

6. Programming

Checking columns in SQL, comparing user input and sizes.

I'm writing a KSH shell script that's using SQL though DB2. If I have a table defined and populated db2 "create table tb(num int,letter char(4))" db2 "insert into tb values(111,a) db2 "insert into tb values(112,b) db2 "insert into tb values(111,c) How can I check if a letter user... (0 Replies)
Discussion started by: busdude
0 Replies

7. Programming

C++ - Problem in asking and checking user's passwd

This is the source code: #include <pwd.h> #include <iostream> #include <string.h> using namespace std; int main() { struct passwd *user; char login="alex", password="qwertyuiop"; if ((user= getpwnam(login)) == NULL) cout << "No such user\n"; else if... (24 Replies)
Discussion started by: hakermania
24 Replies

8. Shell Programming and Scripting

Online user list script

I decided to delete the first post since it was againt the forum rules (4 Replies)
Discussion started by: Necrologist
4 Replies
Login or Register to Ask a Question
DHISD(8)						    BSD System Manager's Manual 						  DHISD(8)

NAME
dhisd -- Dynamic Host Information System server. SYNOPSIS
dhisd [-D] [-p port] [-d database] [-s services] [-l logfile] [-P pidfile] DESCRIPTION
DHIS is a client-server architecture meant to update databases for systems which are assigned a dynamic IP[v4] address. By the means of a DHIS client a host which is assigned a dynamic IP address (either from its ISP or from DHCP) is able to communicate with a DHIS server in order to advertise its newly acquired IP address. DHIS comprises a UDP based protocol to achieve this purpose. A DHIS client has a unique identification number and a set of authentication keys, runs in background, and attempts to reach its server. The DHIS server (permanently online) listens to UDP messages from its clients and authenticates these against its knowledge of keys. When authentication is successful the DHIS server updates one or more databases with the newly received IP address for the given client. The server then keeps sending, every period of time, check requests to each of its connected clients. These need to be acknowledged. If not the server will consider, on an individual basis, that the client has disconnected and will again update the databases to an offline state. Alternativelly the server may receive an OFFLINE_REQ packet from the client, in which case the DNS record is updated at once and the online state droped. OPTIONS
-D Increase debug level. -p port Specify port to listen on. If not specified, the default is port 58800. -d database Use an alternative database file instead of /etc/dhis-server/dhis.db. -s services Use an alternative database file instead of /etc/dhis-server/services.db. -l logfile Use an alternative log file instead of /var/log/dhisd.log. -P pidfile Use an alternative PID file instead of /var/run/dhisd.pid. FILES
/etc/dhis-server/dhis.db DHIS client database. Contains the credentials of clients. /etc/dhis-server/services.db DHIS service database. Contains a list of services and the location of the corresponding DHIS engine plugins. SEE ALSO
dhis-genkeys(8) AUTHOR
dhisd has been written by Joao Cabral <jcnc@dhis.org>. This manual page was written by Guus Sliepen <guus@debian.org> for the Debian GNU/Linux system. Debian GNU/Linux June 1, 2019 Debian GNU/Linux