Forum Discussion

haeoraki_127471's avatar
haeoraki_127471
Icon for Nimbostratus rankNimbostratus
Apr 26, 2004

About getPackets_in() in ThruputStatistics

I hesitate to post this -_-

 

 

Your article was very helpful to me. I used current connection value and it worked well. It was my mistake that current connection value did not change.

 

 

Please see below :

 

 

ThruputStatistics tempThruput = nodeStatistics.getThruput_stats();

 

long inPacket = tempThruput.getPackets_in();

 

 

If I click web browser on a virtual server, to my thinking, the number of packets in may increase and if I stop clicking, it may decrease.

 

When I clicked web brower, the number of packets in increased but when I stopped clicking, the value did not decrease. It did not change and when I clicked web brower again, it increased again.

 

I stopped clicking quite a while but the value of the number of packets in preserved the increased value and never decreased.

 

 

To get the value of the number of packets in, I used threads. Threads run at every one second.

 

 

At upper source, the number of packets in means incoming packet at node, doesn't it?
No RepliesBe the first to reply