- dstat
Dstat is a versatile replacement for iostat, vmstat and ifstat
http://linux.softpedia.com/get/System/Diagnostics/Dstat-1401.shtml
- download the source file
- tar -xvjf dstate-0.7.2.tar.bz2
- cd dstate-0.7.2
- sudo make install
사용법
dstat -cdngys --top-io-adv --top-bio-adv 창넓이가 크면
dstat -cdngys --top-io --top-bio
dstat 기본옵션은 -cdngy
2. pktstat
requirements: libpcap-devel, ncurses-devel
pktstat man page
사용법:sudo pktstat -i eth0 -T -l
실행결과
interface: eth0 total: 43.9Mb (3s)
cur: 12.3M (78%) min: 12.3M max: 15.8M avg: 14.5M bps
bps % b desc
1.4k 0% 4.3k arp
591.8 0% 1.2k ip proto 88 55.101.66.3 <-> igrp-routers
91.3k 0% 91.3k tcp a100236:4478 <-> console:ssh
42.6k 0% 216.4k tcp a100390:mailprox <-> console:ssh
1.1k 0% 2.1k udp 123.43.179.2:hsrp <-> all-routers:hsrp
527.8 0% 1.6k udp 123.43.179.3:hsrp <-> all-routers:hsrp
527.8 0% 1.6k udp 123.43.180.2:hsrp <-> all-routers:hsrp
527.8 0% 1.6k udp 123.43.180.3:hsrp <-> all-routers:hsrp
527.8 0% 1.6k udp 123.43.181.2:hsrp <-> all-routers:hsrp
527.8 0% 2.1k udp 123.43.181.3:hsrp <-> all-routers:hsrp
2.4M 15% 8.7M udp 192.168.106.111:cslistener <-> reserved-multicast-range-not-delegated:cslistener
136.1k 0% 408.6k udp 192.168.106.111:dynamid <-> reserved-multicast-range-not-delegated:dynamid
2.4M 15% 8.9M udp 192.168.107.133:cslistener <-> reserved-multicast-range-not-delegated:cslistener
3. iptstate
requirement: libnetfilter_conntrack-devel
/proc/net/ip_conntrack파일을 참조한다. 따라서 embedded와 같은 곳에서는 작동되지 않는다.
4.vnstat
vnstat은 통계치를 구하는 것으로, pktstat와 iptstat와 그 용도가 다르다.
또한, php와 연동이 되어, web page에서 그 결과를 관람할 수 있다.
이 곳에 가면 볼 수 있다.
http://www.sqweek.com/vnstat/
Comments