{"id":502,"date":"2023-09-02T20:39:30","date_gmt":"2023-09-02T18:39:30","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=502"},"modified":"2023-09-02T20:39:31","modified_gmt":"2023-09-02T18:39:31","slug":"die-prozess-id-unter-linux-anzeigen-um-prozesse-zu-toeten","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/02\/die-prozess-id-unter-linux-anzeigen-um-prozesse-zu-toeten\/","title":{"rendered":"Die Prozess-ID unter Linux anzeigen um Prozesse zu t\u00f6ten"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Das\u00a0Terminal\u00a0unter Linux funktioniert immer &#8211; auch wenn h\u00e4ngende Anwendungen die grafische Oberfl\u00e4che blockieren k\u00f6nnen. Es gibt zwei M\u00f6glichkeiten, um Anwendungen \/ Prozesse unter Linux zu t\u00f6ten, auch wenn auf der grafischen Oberfl\u00e4che nichts mehr funktioniert. Wechseln Sie einfach mittels\u00a0<strong><kbd>Strg+Alt+F2<\/kbd><\/strong>\u00a0auf das Terminal.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">M\u00f6glichkeit eins:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nutzen Sie den Befehl &#8222;<strong><code>pidof<\/code><\/strong>&#8222;, um an die Prozess-IDs zu kommen &#8211; etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pidof steam<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Beispiel:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/kill-1024x576.jpg\" alt=\"\" class=\"wp-image-503\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/kill-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/kill-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/kill-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/kill-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/kill.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hier erhalte ich als Ausgabe zwei PIDs- &#8222;<strong>9050 9033<\/strong>&#8222;, deren Prozesse lassen sich jetzt mittels &#8222;<strong><code>kill<\/code><\/strong>&#8220; t\u00f6ten &#8211; etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kill -9 9050 9033<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Die zweite und einfachere M\u00f6glichkeit:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nutzen Sie den Befehl &#8222;<strong><kbd>killall<\/kbd><\/strong>&#8220; &#8211; hierbei m\u00fcssen Sie allerdings die komplette Bezeichnung des Prozesses \/ der Anwendung kennen &#8211; etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>killall steam<\/code><\/pre>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"502\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"502\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Das\u00a0Terminal\u00a0unter Linux funktioniert immer &#8211; auch wenn h\u00e4ngende Anwendungen die grafische Oberfl\u00e4che blockieren k\u00f6nnen. Es gibt zwei M\u00f6glichkeiten, um Anwendungen \/ Prozesse unter Linux zu t\u00f6ten, auch wenn auf der grafischen Oberfl\u00e4che nichts mehr funktioniert. Wechseln Sie einfach mittels\u00a0Strg+Alt+F2\u00a0auf das Terminal. M\u00f6glichkeit eins: Nutzen Sie den Befehl &#8222;pidof&#8222;, um an die Prozess-IDs zu kommen &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":504,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,4],"tags":[12,7,15,6],"class_list":["post-502","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","category-terminal","tag-kommandozeile","tag-shell","tag-system","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"predecessor-version":[{"id":505,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/502\/revisions\/505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/504"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}