ãã±ããããã£ããã£ããæã®å®çªã³ãã³ãtcpdump 使ãæ¹ã«ãã£ã¦ã¯çµæ§åã£ã使ãæ¹ãã§ãã¾ãã ããã©ã«ãã§ã¯ãããã¾ã§ããåºãã¾ããã-sãªãã·ã§ã³ã使ããã¨ã§ãã±ããå ¨é¨ããã³ãã§ãããããã¾ãã åºæ¬çãªãã®ã以ä¸ã«è¨ãã¦ããã¾ãã ã³ãã³ãã©ã¤ã³ # tcpdump <æ¡ä»¶å¼> æ¡ä»¶å¼ã«ã¯ï¼typeï¼dirï¼protoãæå®ã§ããï¼ type 対象ã«ãããã±ããã®ç¨®é¡ãæå®ãããã¿ã¤ãã§æå®ã§ããã®ã¯ -host(ãã¹ã) - netï¼ãããã¯ã¼ã¯ï¼ - portï¼ãã¼ãï¼ã®3ç¨®é¡ ä¾ï¼host hogehogeãport 80ãªã© dir éä¿¡ã®æ¹åãç¹å®ãããæ¹åã¨ãã¦æå®ã§ããã®ã¯ - srcï¼ã½ã¼ã¹ã¢ãã¬ã¹ï¼ - dstï¼ãã£ã¹ãã£ãã¼ã·ã§ã³ã¢ãã¬ã¹ï¼ - src or dst - src and src~ ã®4種é¡ãdir修飾åããªãå ´åã¯ããsrc or dstã
ãããã¯ã¼ã¯ãã³ããã¼ã¯ã½ãããç¹å®ã®ãã¹ãéã§TCPãUDPã®ãã³ããã¼ã¯ãè¡ãå ´åã«ä¾¿å©ã 大å¦æ代ã¯å¤§å¤ãä¸è©±ã«ãªãã¾ããã UDPã§ã®æ¸¬å®ã¯ã-mãªãã·ã§ã³ã使ããã¨ï¼è¦æ³¨æã UDPã§ã®è¨æ¸¬ã¯iperfã®æ¹ããªã¹ã¹ã¡ã§ãã å ¬å¼ãµã¤ã http://www.netperf.org/netperf/NetperfPage.html ã³ãã³ãã©ã¤ã³ ãµã¼ã netserverãå®è¡ãã $ netserver ã¯ã©ã¤ã¢ã³ã $ netperf -H 使ç¨ä¾ TCPã§ã®æ¸¬å® éä¿¡å´(ã¯ã©ã¤ã¢ã³ã)ã¯ä»¥ä¸ã®ã³ãã³ããå®è¡ãã¾ãã $ netperf -H 192.168.1.32 UDPã§ã®æ¸¬å® éä¿¡å´(ã¯ã©ã¤ã¢ã³ã)ã¯ä»¥ä¸ã®ã³ãã³ããå®è¡ãã¾ãã $ netperf -H 192.168.1.32 -t UDP_STREAM -- -m 1024 â»æ³¨æï¼ ããã©ã«ãã§ã¯9216ãã¤ã
(2012.10.15追è¨) report-hostã§ã¯ãªãslave-hostã«ãªã£ã¦ãã¨@ishikawa84gããããææãåããã®ã§ä¿®æ£ã ããã§ããã¹ã¿ã¼ã§show slave hostsã³ãã³ããæã¤ã ãã§ãã¹ã¬ã¼ãã®ä¸è¦§ã表示ãããã > show slave hosts +----+------+--+----+ | Server\_id | Host | Port | Master\_id | +----+------+--+----+ | 16800111 | nanikano-dbs01 | 3306 | 16800101 | | 16800112 | nanikano-dbs02 | 3306 | 16800101 | | 16800113 | nanikano-dbs03 | 3306 | 16800101 | +----+------+--+----+ repo
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}