Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I want to measure specific port's transfer size(Bytes).
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
getfeus
n00b
n00b


Joined: 26 Apr 2013
Posts: 15

PostPosted: Fri May 31, 2013 2:15 am    Post subject: I want to measure specific port's transfer size(Bytes). Reply with quote

I want to measure total pages transfered during Xen Live migration.
Although I use a iftraf-ng 3.0.0 package, I can't find the migration port on the TCP/UDP Statistical Breakdown menu.
(I can see ssh-22 and other traffics, so my iftraf-ng installation seems to suceed.)
I also checked NIC's transfer data reported by iftraf-ng, and the report is correct.

Do I need to perform special operations to monitor traffics of Xen Live Migration?
Best Regards.
Back to top
View user's profile Send private message
papahuhn
l33t
l33t


Joined: 06 Sep 2004
Posts: 626

PostPosted: Fri May 31, 2013 3:27 pm    Post subject: Reply with quote

There is too few information. Where do you run iptraf? On the host or in the VM?
Do you have dedicated NICs for XenMotion?
_________________
Death by snoo-snoo!
Back to top
View user's profile Send private message
getfeus
n00b
n00b


Joined: 26 Apr 2013
Posts: 15

PostPosted: Fri May 31, 2013 3:32 pm    Post subject: Reply with quote

papahuhn wrote:
There is too few information. Where do you run iptraf? On the host or in the VM?
Do you have dedicated NICs for XenMotion?


Hello, first, Sorry for few informations.

I have two machines.

1. Host machine.
2. Backup machine.

I want to migrate vm on 1 to 2.

And I want to measure network traffics which migration port is using.

My migration port is set to 8002.

I run iptraf on machine 1, and I want to look outgoing network bytes.
Or, incoming bytes of 8002 port at machine 2.

Thnakyou.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri May 31, 2013 4:24 pm    Post subject: Reply with quote

Add an iptables -j ACCEPT rule for that port and then count it afterwards using "iptables -vnxL".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum