{"id":21,"date":"2010-03-01T21:40:32","date_gmt":"2010-03-01T12:40:32","guid":{"rendered":"http:\/\/blog.isnext.net\/issy\/?p=21"},"modified":"2010-03-01T22:50:27","modified_gmt":"2010-03-01T13:50:27","slug":"macosx%e3%81%a7%e3%83%88%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%83%a2%e3%83%8b%e3%82%bf%e3%83%aa%e3%83%b3%e3%82%b0","status":"publish","type":"post","link":"https:\/\/blog.isnext.net\/issy\/archives\/21","title":{"rendered":"MacOSX\u3067\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0"},"content":{"rendered":"<p><strong>\u25a0 [tool]ntop3.1\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\nMacOSX\u3067\u5229\u7528\u53ef\u80fd\u306a\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u30e2\u30cb\u30bf\u306f\u3044\u304f\u3064\u304b\u3042\u308b\u304c\u3001\u5546\u7528\u88fd\u54c1\u306f\u9ad8\u3044\u306e\u3067\u624b\u8efd\u306b\u4f7f\u3048\u308bntop\u3092\u8a2d\u5b9a\u3057\u3066\u307f\u308b\u3002ntop\u306f\u7d50\u69cb\u4ee5\u524d\u304b\u3089OSX\u7528\u306b\u79fb\u690d\u3055\u308c\u3066\u304a\u308a\u3001\u624b\u6301\u3061\u306e\u30d0\u30a4\u30ca\u30ea\u3067\u306f2.1.1\u304c\u6b8b\u3057\u3066\u3042\u308b\u30022.2\u30843.0\u3067\u306fgdbm\u306a\u3069\u3092\u5225\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306a\u3069\u591a\u5c11\u9762\u5012\u306a\u90e8\u5206\u304c\u3042\u3063\u305f\u304c\u30013.1\u3067\u306f\u3069\u3046\u3084\u3089\u305d\u306e\u5fc5\u8981\u306f\u306a\u304f\u3001\u7528\u610f\u3055\u308c\u305fpkg\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051\u3067\u4e3b\u306a\u6a5f\u80fd\u304c\u5229\u7528\u53ef\u80fd\u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3060\u3002<\/p>\n<p>ntop\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089OSX\u7528\u306epkg\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308c\u3070\u3088\u3044\u3002http:\/\/www.ntop.org\/\u3000\u304b\u3089ntop-3.1-macosx.bin\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5c55\u958b\u3059\u308b\u3002ntop-3.1-macosx.pkg\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3059\u308c\u3070\u5f8c\u306fOSX\u306e\u4ed6\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u540c\u69d8\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306e\u6307\u793a\u306b\u5f93\u3046\u3060\u3051\u3067\u3044\u3044\u3002<\/p>\n<p>\u6ce8\u610f\u3057\u305f\u3044\u306e\u306f\u3001\u65e7\u30d0\u30fc\u30b8\u30e7\u30f3\u306entop\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u306f\u5fc5\u305a\/usr\/local\/ntop\u3092\u524a\u9664\u3057\u3066\u304b\u3089\u884c\u3046\u3053\u3068\u3002<\/p>\n<p><strong>\u25a0 [tool]ntop3.1\u3092\u8d77\u52d5\u3059\u308b<\/strong><br \/>\n\u8d77\u52d5\u306f\u3044\u305f\u3063\u3066\u7c21\u5358\u3002Terminal\u304b\u3089<\/p>\n<p>[code]$ sudo \/usr\/local\/ntop\/bin\/ntop -u root -w 8888[\/code]<br \/>\n\u3068\u3059\u308c\u3070\u7ba1\u7406\u8005\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6c42\u3081\u3089\u308c\u305f\u5f8c\u3001\u8d77\u52d5\u3057\u59cb\u3081\u308b\u3002\u4e00\u756a\u6700\u521d\u306e\u8d77\u52d5\u3067\u306fadmin\u7528\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u3001<\/p>\n<p>[code]Please enter the password for the admin user: [\/code]<br \/>\n\u3053\u306e\u8868\u793a\u304c\u51fa\u305f\u3089\uff08\u8d77\u52d5\u9014\u4e2d\u3067 CHKVER: This version of ntop is the CURRENT stable version \u3068\u3044\u3046\u8868\u793a\u306e\u307e\u307e\u6b62\u307e\u308b\u3053\u3068\u304c\u3042\u308b\u304c\u3001\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u3059\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u306e\u8868\u793a\u304c\u51fa\u3066\u304f\u308b\u3088\u3046\u3060\uff09\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3002\u78ba\u8a8d\u3082\u542b\u3081\u3066\uff12\u56de\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u3002\u3059\u308b\u3068admin\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u30bb\u30c3\u30c8\u3055\u308c\u8d77\u52d5\u304c\u7d9a\u304f\u3002<\/p>\n<p>[code]NOTE: -L | &#8211;use-syslog=facility not specified, child processes will log to the default (24). [\/code]<br \/>\n\u3068\u3044\u3046\u8868\u793a\u304c\u51fa\u305f\u3068\u3053\u308d\u3067\u8d77\u52d5\u30d7\u30ed\u30bb\u30b9\u304c\u4e00\u65e6\u7d42\u4e86\u3002<\/p>\n<p>[code]$ sudo lsof -i[\/code]<br \/>\n\u3067ntop\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<p>[code]ntop      3765    root   12u  IPv6 0x03e76e80      0t0  TCP *:ddi-tcp-1 [\/code]<br \/>\n\u3053\u3093\u306a\u51fa\u529b\u304c\u51fa\u3066\u3044\u308c\u3070OK\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u3067\u304d\u305f\u3089\u5f8c\u306fsafari\u3067http:\/\/localhost:8888\/\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070ntop\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>ntop\u3092\u7d42\u4e86\u3055\u305b\u308b\u5834\u5408\u306b\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067ntop\u30e1\u30cb\u30e5\u30fc\u306eAdmin\u304b\u3089shutdown\u3092\u9078\u629e\u3059\u308b\u3002\u30e6\u30fc\u30b6ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u3001\u30e6\u30fc\u30b6\u306badmin\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u3055\u304d\u307b\u3069\u30bb\u30c3\u30c8\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3002<\/p>\n<p><strong>\u25a0 [tool]ntop\u8d77\u52d5\u30aa\u30d7\u30b7\u30e7\u30f3<\/strong><br \/>\n\u5fc5\u8981\u306a\u6642\u3060\u3051\u8d77\u52d5\u3059\u308b\u306a\u3089\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3044\u3044\u304c\u3001\u5e38\u6642\u8d77\u52d5\u3055\u305b\u3066\u304a\u304f\u5834\u5408\u306b\u306f\u30c7\u30fc\u30e2\u30f3\u30e2\u30fc\u30c9\u3092\u5229\u7528\u3059\u308b\u3002<\/p>\n<p>[code]$ sudo \/usr\/local\/ntop\/bin\/ntop -u root -d -w 8888[\/code]<br \/>\nhttps\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<p>[code]$ sudo \/usr\/local\/ntop\/bin\/ntop -u root -W 8888[\/code]<br \/>\n\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u76e3\u8996\u3059\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u7279\u5b9a\u3059\u308b\u5834\u5408\u3002<\/p>\n<p>[code]$ sudo \/usr\/local\/ntop\/bin\/ntop -u root -i en0 -w 8888[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0 [tool]ntop3.1\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb MacOSX\u3067\u5229\u7528\u53ef\u80fd\u306a\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u30e2\u30cb\u30bf\u306f\u3044\u304f\u3064\u304b\u3042\u308b\u304c\u3001\u5546\u7528\u88fd\u54c1\u306f\u9ad8\u3044\u306e\u3067\u624b\u8efd\u306b\u4f7f\u3048\u308bntop\u3092\u8a2d\u5b9a\u3057\u3066\u307f\u308b\u3002ntop\u306f\u7d50\u69cb\u4ee5\u524d\u304b\u3089OSX\u7528\u306b\u79fb\u690d\u3055\u308c\u3066\u304a\u308a\u3001\u624b\u6301\u3061\u306e\u30d0\u30a4 &hellip; <a href=\"https:\/\/blog.isnext.net\/issy\/archives\/21\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;MacOSX\u3067\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[7,18],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-osx","tag-ntop","tag-oldhatena"],"_links":{"self":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":2,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":64,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/21\/revisions\/64"}],"wp:attachment":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}