How to identify the number of clients in server

Hai
Iam trying a network program to identify the number of clients which accessing the server. I dont no how to identify the number of clients which accessing the server through server machine. I want to identify the client machine ip or name. If you have any idea help for me.
Regards
A.KRaj

You can keep a ArrayList of active connections and store the IP address of the incoming connection in the Server. You have to do this everytime you accept a connection.

Similar Messages

  • How to identify the number of unique active users/connections on PIX/ASA

    Hi,
    Is it at all possible with SNMP or other tools to identify the unique number of connections on PIX or ASA. I’m not referring to the number of session or the results of “show conn count” but rather something similar to what “show local host” command will provide.
    Thanks in advance

    Hi,
    If  you are looking for SNMP OIDs to get 'show local-host' output from ASA, please try the following OIDs and check if you are getting the relevant outputs :
    1.3.6.1.4.1.9.9.147.1.1.1.2.1.5.        cfwBasicConnectionEventType
    1.3.6.1.4.1.9.9.147.1.2.2.2.1.3.        cfwConnectionStatDescription
    1.3.6.1.4.1.9.9.147.1.2.2.2.1.4.        cfwConnectionStatCount
    1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.        cfwConnectionStatValue
    Thanks

  • How to restrict the number of client connections.

    Dear All,
    I have an Oracle Database version 9.2.0.1 in a Windows server 2000. I created a database users “prod1” in this database. It’s a 10 member team. I have to make changes so that, at a single point of time there should be only 2 members connected to the database simultaneously using the id “prod1”. How do I perform this request?
    Thanks in advance
    With Regards,
    Santhosh

    Create a profile with session_per_user (concurrent session) as needed and then assign this profile to prod1 user, in your case.
    CREATE PROFILE "REST_USERS"
    LIMIT SESSIONS_PER_USER 2
    alter user prod1 profile rest_users;
    Parameter RESOURCE_LIMIT must be set to TRUE in the init.ora file.
    Jaffar
    Message was edited by:
    The Human Fly

  • Identify the number server calls using java

    how to identify the number server calls that are made for rendering the page, Also have each call transmission data too.using java language.

    What??? What are you talking about? What environment? What server?

  • How do I Limit the number of Clients Per AP, Per Radio

    I'm have WCS, 2 - WLC4404, 1 - WLC4402 and 1 WISM (6509). All running 7.X OS.
    Here is my problem I have 4 3502 AP,s in the hall, but the laptops all connect to one AP. 2 Clients on A and 26 Clients on G.
    How do I control this?
    Mike

    If you want to limit the number of clients PER AP then this is a feature that has been identified and will be available in the next few version.
    You can, however, limit the number of clients and default is set to 12.

  • How identify the data is client level,plant level or company code level

    Dear sirs,
    GM
    How identify the data is client level,plant level or company code level?
    If there is any T.code for same in SAP plz send me otherwise any procedure?
    Hopeeeeeeeeee....

    Hi,
    Once you gain experience, you will not look at any table any field or any view...You will do it just like how you use keyboard once you pass type writing....
    That is why every area of work, including master data is handed over to specialized teams...that will be their work day in and out....for some one newly entering, it will be little bit tough...once you practice, you will not be worried any more.  Of course, basic data at client level, purchasing data plant level etc...some thumb rules are there...still, you will take big blow by following such thumb rules because if you verify storage condition assigned in the storage location is not storage location level!!!!!!!!!!!!!!!
    that is experience!!  In this forum, it is good to practice rewarding...else, there may not be any more replies
    Good Luck
    Message was edited by:
            Gopala Turaga

  • How to set the number of seconds a servlet is allowed to run

    I use JSP to generate a report, but it will take about 10 minutes to search.
    IE Client screen displays an error message what is "Cannot find out your page" after 8 minutes. How to set the number of seconds a servlet is allowed to run.

    It's not a matter of how long the servlet is running... it's the browser timing out because the servlet hasn't responded to its request.
    You have several options:
    1) "Browser Pinging"
    Your servlet sends some small data which can be either seen or unseen (html comments, hidden chars, etc) by the user at short intervals while your report is running. When the report is finished, the browser will not have timed out because it has been "snacking" on those small bits of data which tell the browser its original request was both heard and being handled. I don't think there is any timeout in IE as long as it receives data continually (or at least before its own timeout mark over and over again...)
    2) Multithreaded processing
    This would probably be a better approach. Have the report run in a separate thread running on the server. You'd want to store a reference to this executing report in the user's session. Instead of making the browser wait for the report to be finished, have the servlet check the user's session to see if a report exists and is running. If one does not exist, create one and start its execution. If one does exist, and is still running, print a "please wait" type of message OR an animation, etc... along with some javascript which will reload the page every few seconds. If the page reloads and the servlet sees that the report is finished, it can then display it to the user.
    Hope this helps,
    -Scott

  • How to control the number of fields in the Advanced mode in af:query

    Hi,
    How to control the number of fields in the Advanced mode in <af:query>?
    Say i have 20 fields in my table and i created a view criteria with 2 fields. It would work perfectly in Basic mode. But in the Advanced mode all other fields selection is possible on clicking the ADD Fields button. I did not want the client to make a search with all 20 fields. Only 10 fields are to be listed in the Advanced Mode even though there are 20 fields in my table.
    How do i control the list of fields in ADDFields button?
    Any ideas?
    KR

    You can uncheck the Querable property of the attributes which you need not show up in the Advanced Mode (but they will not show up in other modes too !) or programatically set the same as mentioned here -
    http://adfcodebits.blogspot.com/2010/11/bit-27-setting-view-object-attributes.htmlAlso you can hide the AddFields button as suggested here - http://www.notjustjava.com/2011/12/cool-tips-to-showhide-components-of-the-query-control-of-adf/

  • How to identify Draft Number of PO

    Hi Friends,
                     I want to know about how to identify Draft number.When Draft get opened its shows DocEntry in PO .And if i will not add that draft and generate another draft then similar number get shown on PO.And in ODRF table also its stored same number.
         So how can I identify which draft number gets Opened??
    Thanks & Regards
         Swati

    Hi Vasu,
         I have added one folder in PO.In that Folder I have added one Matrix to add some information.So When PO gets added the all data of that matrix get added into my table.
       But now problem is when PO sent for Approval its converted into Draft.So My Problem is ,The person who Approve that PO he is not able to show Data which I have added into Matrix of new Folder. So to show the Data to him I want Draft Number.
       This PO draft is not added so I cant use Draftkey form table.And there are lots of similar PO number entries in ODRF table so how can I identify which Draft gets Open at a time of Load??
    Thanks & Regards,
        Swati

  • How to limit the number of boxes to tick in LC

    I would like to know the "javascript" in Lice Cycle to limit the number of boxes ticked
    for example i have 20 boxes and i would like that the client can only tick 5 boxes
    thank you

    Thank you Steeve
    But my problem is that i don't know which boxes the client will want to tick so all boxes have to be available at the beginning.
    When the client will have ticked 5 boxes in this case and only in this case, all others boxes must become unavailable so it is very difficult to set up
    if you have any idea
    thanks anyway
    Date: Fri, 15 May 2009 09:44:33 -0600
    From: [email protected]
    To: [email protected]
    Subject: How to limit the number of boxes to tick in LC
    This is a form validation issue. For example, you may have a text field and the value entered into that field determines which checkboxes must be completed to satisfy a validation or business rule. The attached sample requests the value "foobar" to be entered into a text field. If you enter "foobar" and exit the field, 2 of 3 checkboxes have the access property changed to "protected", meaning a user cannot no longer select those checkboxes.
    // form1.page1.subform1.input::exit - (JavaScript, client)
    if (this.rawValue == "foobar") {
        form1.page1.subform1.cb2.access = "protected";
        form1.page1.subform1.cb3.access = "protected";
    Steve
    >

  • How to identify the locks in oracle db objects? i dont have access to check

    How to identify the locks in oracle db objects? i dont have access to check the v$lock or v$ objects. i dont have dba access. what are the symptoms for table, row or objects lock? how v guess it would be lock?
    Thanks in advance friends..

    I believe you will have to call your DBA on the phone in that case.
    You can query something with a select ... for update nowait.
    If it raises an exception you can handle it within a when section.
    -- Running in one session
    SQL> create table t1 as select 1 col1 from dual;
    Table created
    SQL> select * from t1 for update nowait;
          COL1
             1
    SQL>
    -- now running in a different session
    SQL> select * from t1 for update nowait;
    select * from t1 for update nowait
    ORA-00054: resource busy and acquire with NOWAIT specified
    SQL> set serveroutput on
    SQL>
    SQL> DECLARE
      2    CURSOR cur1 IS
      3      SELECT col1 FROM t1 FOR UPDATE NOWAIT;
      4    v_col1 NUMBER;
      5    locking_error EXCEPTION;
      6    PRAGMA EXCEPTION_INIT(locking_error, -00054);
      7  BEGIN
      8    OPEN cur1;
      9  EXCEPTION
    10    WHEN locking_error THEN
    11      dbms_output.put_line('Busted locking my rows!');
    12  END;
    13  /
    Busted locking my rows!
    PL/SQL procedure successfully completed
    SQL> Now, surely you won't be able to tell anything else other than there was something locked there.
    But none of the details you would find in the views.

  • How to identify the no is prime or not ,no is more than 9 digit?

    how to identify the no is prime or not ,no is more than 9 digit?
    becaz long does not store more than 9 digit , like example
    long number=9876543218; // it will throw the compile time error
    so how to get this?

    It is too easy to understand whether the given value
    is prime or not.
    THe following code snippet does this .
         public boolean isPrime(int pr){
              int num = 0;
              for(int a = 2; a < pr; a++ ){
                   if(pr % a == 0)
                        num = 1;
              if(num == 1)
                   return false;
              else
                   return true;
         }(Simple eh)And if you end at the square root of pr you get a nice speedup. You can get a further speedup by changing the incrementation strategy (2x really easily, 6x if you start at 5 (explicit test for 2 and 3) and increment alternatively by 2 and 4), but that's not entirely necessary.
    ~Cheers

  • How to identify the device is locked or not?

    how to identify the iphone is locked or not

    Call AppleCare, give them the model and serial number and ask them if it is locked and if yes, which cell carrier it is locked with.

  • How to identify the the cellphone compagny (Fido, AT

    How to identify the cellphone compagny (At&t, telus, rogers ...) of an iphone 4 without a sim card?

    Call Apple Support and give them the serial number of the phone.

  • How to identify the iphone compagny (Fido, Telus, AT

    How to identify the iphone 4 compagny (fido, telus, rogers, AT&T ....) without sim card inside

    Call AppleCare and give them the model and serial number.

Maybe you are looking for

  • Creative Zen 4 Gb Rebuilding and Format Problem

    i have creative zen 4 gb mp3 player. eveytime when i was opening the device, it is rebuilding player and then it opens. Also i tried to format all my player in recovery mode and it is formatted.After format when i was opening device again, it was reb

  • Convert varchar2 field into date formatted: DD-MON-YYYY

    Thanks in advance for anyone's help on this matter as I know it takes your time and expertise. I am pretty new to SQL but learning my way through it just have an issue with a text to date field conversion. It is an Oracle 10g database and I am writin

  • Putting in a new Hard Drive

    So i got the new Mac Pro 2008 model and im seeing the hard drive getting close to full. Time to look for something to drop in that 4th empty slot. And I'm thinking the 1TB bugger. Now my question is after i drop it say i get 2 of them and want to upg

  • Content Areas and Pages

    Hi, Is there a way to exporte pages and/or content areas from Portal? Is so how can i do it? Pedro

  • How can I change the caption of a text field using data?

    Hi, I've read that this is possible to do but when you have an xsd file, I'm using a preview xml data file, so there is no way to link them together, any ideas?. Thanks!.