Joopi
Welche Prozesse mit Python sind aktiv? - Druckversion

+- Joopi (https://forum.hermann-splitthoff.de)
+-- Forum: Forum und Webseite (https://forum.hermann-splitthoff.de/forumdisplay.php?fid=16)
+--- Forum: Migrationssammler (https://forum.hermann-splitthoff.de/forumdisplay.php?fid=44)
+--- Thema: Welche Prozesse mit Python sind aktiv? (/showthread.php?tid=226)



Welche Prozesse mit Python sind aktiv? - Joopi - 27-02-2023

Dann und wann ist es wichtig zu wissen, welche Prozesse gerade laufen. Wird auf etwas spezielles gezielt, könnte für Python wie folgt vorgegangen werden:

Code:
ps -fA | grep python

Damit werde alle Prozesse aufgelistet, die etwas mit Python zu tun haben.

Im Falle der Fälle kann ein Prozess wie folgt gelöscht werden:

Code:
kill PID

PID steht hier stellvertretend für die Nummer des Prozesse (process-id)