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
prelude-manager(1)					      General Commands Manual						prelude-manager(1)

NAME
prelude-manager - Collects and normalize events. SYNOPSIS
prelude-manager [options] DESCRIPTION
Prelude Manager is a high-availability server which can collect, filter, relay, reverse-relay, normalize and store events. Events can come from registered analyzers and/or managers. The common usage is to store nomalized events into a database, thus this can be extended to store informations in plain text or xml files. OPTIONS
Some prelude-manager option are contextual, they have to be prefixed by another. --prelude Prelude generic options --profile=<name> Profile to use for this analyzer --heartbeat-interval=<interval> Number of seconds between two heartbeat --server-addr=<address> Address where this sensor should report to (addr:port) --analyzer-name=<name> Name for this analyzer --db=<INAME> Options for the libpreludedb plugin -t, --type=<type> Type of database (mysql/pgsql/sqlite3) -l, --log=<file name> Log all queries in a file, should be only used for debugging purpose -h, --host=<address> The host where the database server is running (in case of client/server database) -f, --file=<file name> The file where the database is stored (in case of file based database) -p, --port=<port number> The port where the database server is listening (in case of client/server database) -d, --name=<name> The name of the database where the alerts will be stored -u, --user=<user> User of the database (in case of client/server database) -P, --pass=<password> Password for the user (in case of client/server database) --debug=<INAME> Option for the debug plugin -o, --object=<name> Name of IDMEF object to print (no object provided will print the entire message) -l, --logfile=<file name> Specify output file to use (default to stdout) --relaying=<INAME> Relaying plugin option -p, --parent-managers=<address> List of managers address:port pair where messages should be sent to --textmod=<INAME> Option for the textmod plugin -l, --logfile=<file name> Specify logfile to use --xmlmod=<INAME> Option for the xmlmod plugin -l, --logfile=<file name> Specify output file to use -v, --validate=<xml> Validate IDMEF XML output against DTD -f, --format=<format> Format XML output so that it is readable -d, --disable-buffering=<boolean> Disable output file buffering to prevent truncated tags --idmef-criteria-filter=<INAME> Filter message based on IDMEF criteria -r, --rule=<rule> Filter rule, or filename containing rule --hook=<value> Where the filter should be hooked (reporting|reverse-relaying|plugin name) --config=<file name> Configuration file to use -v, --version Print version number -D, --debug-level=<level> Run in debug mode -d, --daemon Run in daemon mode -P, --pidfile=<file name> Write Prelude PID to pidfile -c, --child-managers=<address> List of managers address:port pair where messages should be gathered from -l, --listen=<address> Address the sensors server should listen on (addr:port) -f, --failover=<boolean> Enable failover for specified report plugin -h, --help Print help FILES
/etc/prelude/prelude-manager.conf - the configuration file BUGS
This man page hadn't been proof-read yet. SEE ALSO
prelude-adduser(1) prelude-manager(1)