Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5385

[Python-de] Tool wie "top", das zeigt, was der Interpreter gerade macht

Path csiph.com!weretis.net!feeder7.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From Thomas Güttler <guettliml@thomas-guettler.de>
Newsgroups de.comp.lang.python
Subject [Python-de] Tool wie "top", das zeigt, was der Interpreter gerade macht
Date Tue, 8 Jan 2019 10:28:30 +0100
Lines 24
Message-ID <mailman.142.1546939696.4816.python-de@python.org> (permalink)
References <f114040b-8453-e479-e335-8f3545291f27@thomas-guettler.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de 7YT/JDyKWYRnQtLl/X6i1QWzerX1/iYwfdy+U5S3CdVw==
Return-Path <guettliml@thomas-guettler.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
Content-Language de-DE
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.29
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <f114040b-8453-e479-e335-8f3545291f27@thomas-guettler.de>
Xref csiph.com de.comp.lang.python:5385

Show key headers only | View raw


Der Vorteil von Shell-Scripts ist, dass man mit Tools wie zB "top" sehen kann,
wo das Script gerade so ungefähr ist.

Das Shell-Script startet Subprozesse wie zB grep/cut/wc und
die sieht man mit zB ps und top.

Das hätte ich auch gerne für Python.

Ich stelle mir das so vor:

Ich rufe "top" auf und sehe drei Python Prozesse.

Ich selektiere einen Prozess und dann wird mir der aktuelle
Stacktrace von diesem Python-Interpreter-Prozess angezeigt.

Ich vermute, dass das vollkommen unmöglich ist. Schade.

Gruß,
   Thomas


-- 
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

[Python-de] Tool wie "top", das zeigt, was der Interpreter gerade macht Thomas Güttler <guettliml@thomas-guettler.de> - 2019-01-08 10:28 +0100

csiph-web