Results 1 to 5 of 5

Thread: About Ice::Stats interface

  1. #1
    OrNot is offline Registered User
    Name: Bin.Li
    Organization: GE Healthcare
    Project: Enterprise solution
    Join Date
    Jun 2005
    Location
    Shanghai
    Posts
    181

    About Ice::Stats interface

    hi,
    Because I am not proficient at middleware stuff, I do not know if it is feasible or reasonable to provide much more information about network traffics to users.I notice the Ice::Stats interface,which can intercept the transiver and give some info about the bytes (sent or read). However ,the infomation seems very raw and insufficient.
    When I make my own patch server, I want to monitor ervey trafic of the current connetions to my server , but I can not figue out one feasible method based on ice. Maybe I miss or misunderstand something about ice, so I post this question here.
    Hope getting your clarifying.

    TIA
    OrNOt
    Last edited by OrNot; 11-26-2005 at 04:08 AM.
    ------------------------------------------
    ornot2008@yahoo.com
    --------------------------------------------

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    What information do you want to know specifically?

  3. #3
    OrNot is offline Registered User
    Name: Bin.Li
    Organization: GE Healthcare
    Project: Enterprise solution
    Join Date
    Jun 2005
    Location
    Shanghai
    Posts
    181
    hi, matthrew,
    how to get the sent or received bytes corresponding to every connection ? The StatsI may give out these info but no info from which connection.
    I want to implement something like this:


    Remote Address Local Address Recevied bytes sent bytes
    1.1.1.2: 100 2.2.2.2: 100 222222 444444
    3.3.3.3: 200 2.2.2.2: 55 6666 7777
    ........
    Last edited by OrNot; 11-26-2005 at 11:27 PM.
    ------------------------------------------
    ornot2008@yahoo.com
    --------------------------------------------

  4. #4
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    You cannot access such information using the Ice::Stats interface. The only solution would be to write a custom logger that keeps track of the network trace data that you get if you set Ice.Trace.Network=3.

  5. #5
    OrNot is offline Registered User
    Name: Bin.Li
    Organization: GE Healthcare
    Project: Enterprise solution
    Join Date
    Jun 2005
    Location
    Shanghai
    Posts
    181
    hi, Marc,
    Do you think it is right to add some trace messages to the Stats interface then end users can get more info about the network in programs even without logger?
    ------------------------------------------
    ornot2008@yahoo.com
    --------------------------------------------

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Stats and IceBox+IceGrid
    By davidcr1983 in forum Help Center
    Replies: 2
    Last Post: 11-13-2009, 08:11 AM
  2. Porting ICE to LabVIEW using .Net interface
    By stancilmor in forum Help Center
    Replies: 2
    Last Post: 01-28-2009, 04:19 PM
  3. Stats in Python
    By davidcr1983 in forum Comments
    Replies: 0
    Last Post: 08-14-2008, 11:01 AM
  4. My Ice Stats doesn't work??
    By billwillman in forum Help Center
    Replies: 6
    Last Post: 10-03-2006, 11:46 PM
  5. Implementing Stats with Java
    By sylvain in forum Help Center
    Replies: 2
    Last Post: 03-30-2006, 02:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •