个人工具

UbuntuHelp:UbuntuLTSP/MeasuringTrafficNtop

来自Ubuntu中文

Wikibot讨论 | 贡献2009年11月17日 (二) 20:54的版本 (创建新页面为 '{{From|https://help.ubuntu.com/community/UbuntuLTSP/MeasuringTrafficNtop}} {{Languages|UbuntuHelp:UbuntuLTSP/MeasuringTrafficNtop}} {|border="1" cellspacing="0" |This page is sp...')

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索
This page is specific to Ubuntu Alternate/Edubuntu DVD versions 9.10

If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.


Measuring network traffic with Ntop

Alkis Georgopoulos pointed out in #ltsp channel how to do some maths for network traffic. The formula for movies, when xv is used, is: width x height x 12 bit/sec x fps Do your math :) I.e. an 640x400@25 movie needs about 50 Mbps independed of the screen resolution (the scaling happens on the client). A DVD needs about 125 Mbps. Barely viewable with a 100 mbps client. http://www.nubae.com/logs/ltsp20091104_pg2.html


Install Ntop program in both sides, in server and in chroot. Follow this basic setup for both cases. https://help.ubuntu.com/community/Ntop After that you can open web page (http://ip-number:3000) in server and in chroot for thin client. Here are examples. Ntop in server (192.168.1.112) side (Edubuntu DVD 9.10 AMD64 on KVM machine).

admin-edubuntu@edubuntu:~$ ps ax | grep ntop
 1092 ?        Ssl    1:21 /usr/sbin/ntop -d -L -u ntop -P /var/lib/ntop --access-log-file /var/log/ntop/access.log -i eth0 -p /etc/ntop/protocol.list -O /var/log/ntop

Ntop_Server_01.png Ntop on chroot (192.168.1.206) side (thin client is HP Mini 2133, using firefox/flash as a local apps).

root@ltsp206:~# ps ax | grep ntop
 2196 ?        Ssl    1:01 /usr/sbin/ntop -d -L -u ntop -P /var/lib/ntop --access-log-file /var/log/ntop/access.log -i eth0 -p /etc/ntop/protocol.list -O /var/log/ntop

Ntop_Chroot_01.png