2011-04-15
netstat
- 加一個 -o 參數可以看到 timewait 還剩下多久。
- 謎:明明已經把 net.ipv4.tcp_fin_timeout、net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait、net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait 都調到 10 秒了,為啥還是有 60 附近的秒數哩?!
~$ netstat -tnao | cut -b 42- |grep TIME_WAIT | sort 123.117.180.2:47670 TIME_WAIT timewait (24.27/0/0) 123.117.180.2:47687 TIME_WAIT timewait (7.83/0/0) 123.117.180.2:47688 TIME_WAIT timewait (7.99/0/0) 123.117.180.2:47689 TIME_WAIT timewait (12.66/0/0) 123.117.180.2:47690 TIME_WAIT timewait (20.88/0/0) 123.117.180.2:47736 TIME_WAIT timewait (13.10/0/0) 123.117.180.2:47759 TIME_WAIT timewait (33.21/0/0) 123.117.180.2:47761 TIME_WAIT timewait (28.48/0/0) 123.117.180.2:47793 TIME_WAIT timewait (33.87/0/0) 123.117.180.2:47804 TIME_WAIT timewait (47.01/0/0) 123.117.180.2:47858 TIME_WAIT timewait (44.61/0/0) 123.117.180.2:47865 TIME_WAIT timewait (42.52/0/0) 123.117.180.2:47971 TIME_WAIT timewait (51.43/0/0) 123.117.180.2:47979 TIME_WAIT timewait (52.00/0/0) 123.117.180.2:47990 TIME_WAIT timewait (53.79/0/0) 123.117.180.2:47992 TIME_WAIT timewait (53.89/0/0) 163.21.245.128:50304 TIME_WAIT timewait (11.30/0/0) 163.21.245.128:50305 TIME_WAIT timewait (13.62/0/0)
Multicast Socket Programming
- Perl:
- CPAN - IO::Socket::Multicast - Send and receive multicast messages
- Multicast with C and Perl on Linux
- Python:
- 使用 twisted - 範例: Simple UDP Multicast Client / Server using twisted
- py-multicast - A lightweight Python IP multicast library
infographics
- 做圖表也是一門學問:淺談超吸睛的資訊圖表(infographics)
- 製作視覺資訊圖表(infographic)的三大要素及相關工具 - 介紹了許多工具:
- Hohli - Online Charts Builder - 給它數據,畫長條圖、圓餅圖這一類圖表
- Creatly - 這個是不錯的繪圖工具,有 Creatly desktop 的桌面程式(Adobe AIR 版,跨平台)
- Manyeyes - IBM 的服務,也是給數據產生圖表(線上版)
- Tableau Public - Tableau Public 桌面版(限 Win32),給數據產生圖表
- Google public data explorer
- Gapminder - 桌面版 Gapminder Desktop (Adobe AIR 版,跨平台),也是給數據產生圖表
- Statplanet - 純繪製全球地圖與趨勢關聯
- World Mapper - 純繪製全球地圖與趨勢關聯
- GunnMap - 純繪製全球地圖與趨勢關聯
- Inkscape - Linux 上老字號的繪圖軟體之一
Last modified 14 years ago
Last modified on May 19, 2011, 6:27:34 PM