Linux, Raspberry: Welches Programm wird ausgeführt?

Gast #6062937
Lesenswert?

Angenommen es werden einige Python-Programme gestartet.

Beispiel:
1
python3 LaCrosseI2C.py &


Mit dem Shell-Kommando ps kann ich sie mir ansehen und gegebenenfalls 
mit kill die Ausführung beenden.

Gibt es ein Shell-Kommando um festzustellen welches Programm von python3 
ausgeführt wird? "ps" zeigt nur python3 an.
1
 1604 pts/0    00:00:00 bash
2
 1622 pts/0    00:00:03 python3
3
 1623 pts/0    00:00:00 python3
4
 1687 pts/0    00:00:00 ps
Gast #6062996
Lesenswert?

Danke für eure Hinweise :)
1
ps -f
2

3
UID        PID  PPID  C STIME TTY          TIME CMD
4
pi        1604  1601  0 03:08 pts/0    00:00:01 -bash
5
pi        1622  1604  0 03:08 pts/0    00:00:04 python3 webserver_cgi.py
6
pi        1623  1604  0 03:09 pts/0    00:00:00 python3 LaCrosseI2C.py
7
pi        1805  1604  0 03:49 pts/0    00:00:00 ps -f

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren