{"id":30,"date":"2010-10-30T22:18:58","date_gmt":"2010-10-30T20:18:58","guid":{"rendered":"http:\/\/www.wiki4linux.de\/?p=30"},"modified":"2010-10-30T22:23:45","modified_gmt":"2010-10-30T20:23:45","slug":"welcher-process-hort-auf-einem-tcp-port-xyz","status":"publish","type":"post","link":"http:\/\/www.wiki4linux.de\/?p=30","title":{"rendered":"Welcher Prozess h\u00f6rt auf einem TCP-Port xyz?"},"content":{"rendered":"<div>\n<p>Dies kann mit dem Programm lsof ermittelt werden.<\/p>\n<p><strong>Beispiel:<\/strong> Welcher Prozess h\u00f6rt auf dem TCP-Port 8008?<\/p>\n<pre>\/usr\/sbin\/lsof -i tcp:8008<\/pre>\n<p>M\u00f6gliche Ausgabe, wenn dieser Port durch einen Prozess belegt ist:<\/p>\n<pre> COMMAND   PID   USER   FD   TYPE  DEVICE SIZE NODE NAME\r\njava    15399 harald    6u  IPv4 5079855       TCP harald.excample.com:http-alt (LISTEN)\r\njava    15404 harald    6u  IPv4 5079855       TCP harald.excample.com:http-alt (LISTEN)<\/pre>\n<p>H\u00f6rt kein Prozess auf dem fraglichen Port, so gibt es keine Ausgabe.<\/p>\n<p>Weitere Details zu lsof liefert die <a title=\"http:\/\/linuxcommand.org\/man_pages\/lsof8.html\" rel=\"nofollow\" href=\"http:\/\/linuxcommand.org\/man_pages\/lsof8.html\" target=\"_blank\">Manual Pages von lsof<\/a> und  <a title=\"http:\/\/www.jfranken.de\/homepages\/johannes\/vortraege\/lsof.de.html\" rel=\"nofollow\" href=\"http:\/\/www.jfranken.de\/homepages\/johannes\/vortraege\/lsof.de.html\" target=\"_blank\"> diese Zusammenfassung (dt.)<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Dies kann mit dem Programm lsof ermittelt werden. Beispiel: Welcher Prozess h\u00f6rt auf dem TCP-Port 8008? \/usr\/sbin\/lsof -i tcp:8008 M\u00f6gliche Ausgabe, wenn dieser Port durch einen Prozess belegt ist: COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java 15399 &hellip; <a href=\"http:\/\/www.wiki4linux.de\/?p=30\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-shell-und-console","category-tipps"],"_links":{"self":[{"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":3,"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":38,"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions\/38"}],"wp:attachment":[{"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wiki4linux.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}