Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-26-2005
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 156
Send a message via MSN to OrNot
-->
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
__________________
Looking for the nails with my favorite hammer, ICE.
-------------------------------------------
Huo.Fei
GE Healthcare
Bin.Li@ge.com
--------------------------------------------

Last edited by OrNot : 11-26-2005 at 05:08 AM.
Reply With Quote
  #2 (permalink)  
Old 11-26-2005
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,055
What information do you want to know specifically?
Reply With Quote
  #3 (permalink)  
Old 11-26-2005
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 156
Send a message via MSN to OrNot
-->
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
........
__________________
Looking for the nails with my favorite hammer, ICE.
-------------------------------------------
Huo.Fei
GE Healthcare
Bin.Li@ge.com
--------------------------------------------

Last edited by OrNot : 11-27-2005 at 12:27 AM.
Reply With Quote
  #4 (permalink)  
Old 11-27-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
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.
Reply With Quote
  #5 (permalink)  
Old 11-27-2005
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 156
Send a message via MSN to OrNot
-->
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?
__________________
Looking for the nails with my favorite hammer, ICE.
-------------------------------------------
Huo.Fei
GE Healthcare
Bin.Li@ge.com
--------------------------------------------
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Local interface mwilson Help Center 3 01-10-2007 12:22 PM
My Ice Stats doesn't work?? billwillman Help Center 6 10-04-2006 12:46 AM
std::string in interface dthompson Help Center 1 06-21-2006 05:49 PM
Implementing Stats with Java sylvain Help Center 2 03-30-2006 03:25 AM
query for interface zanza Help Center 1 04-13-2005 08:34 AM


All times are GMT -4. The time now is 08:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.