per page, with , order by , clip by
Results of 1 - 3 of about 3 for pstree (0.006 sec.)
コマンドラインのイントロスペクションツール 11886
コマンドラインのイントロスペクションツール ソースコード: Lib/asyncio/tools.py asyncio モジュールは python -m asyncio でスクリプトとして実行でき、実行中の別の Python プロセスを変更したり再起動したりせずに、そのタスクグラフを調べられます。 こ ... スは asyncio.tools サブモジュールが実装しています。 次のコマンドは、 PID で指定したプロセスを調べます。 $ python -m asyncio pstree PID $ python -m asyncio ps PID これらのコマンドは、対象プロセス内でコードを実行せずに、その状態を読み取ります。 サポートさ ... ID、ファイルパス、行番号は、実行時やソースコードの配置によって異なります。 Added in version 3.14. コマンドラインオプション pstree PID タスクとコルーチンの関係をツリーとして表示します。 各タスクはコルーチンのスタック全体とともに表示され、そのタスクを aw ... の枝がブロックしていて、コルーチンのスタックのどこで実行が止まっているかを素早く把握するのに役立ちます。 $ python -m asyncio pstree 12345 └── (T) Task-1 └── main example.py:12 └── TaskGroup.__aexit__ Lib/asyncio/taskgroups.py:75 └── TaskGroup._aexit Lib/ ...
https://man.mtool.work/python/3.14/library/asyncio-tools.html
What's new in Python 3.14 8352
What's new in Python 3.14 エディタ : Adam Turner と Hugo van Kemenade この記事では Python 3.13 と比較した Python 3.14 の新機能を解説します。Python 3.14 は2025年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP ... n プロセスを調べる、新しいコマンドラインインターフェースを追加しました。 python -m asyncio ps PID または python -m asyncio pstree PID で利用できます。 ps サブコマンドは指定されたプロセス ID (PID) のプロセスを調べ、現在実行中の asyncio タスクの情報を表示 ... します。 タスクの表として、すべてのタスク、名前、コルーチンのスタック、それらを待機しているタスクを一覧表示します。 pstree サブコマンドは同じ情報を取得しますが、コルーチンの関係を階層的に示す非同期呼び出しツリーとして表示します。 このコマンドは、 ... Group._aexit -> TaskGroup.__aexit__ -> album TMBTE 0x7fc93173fa50 または、次のようなツリーが得られます。 python -m asyncio pstree 12345 └── ( T ) Task-1 └── main example.py:13 └── TaskGroup.__aexit__ Lib/asyncio/taskgroups.py:72 └── TaskGroup._aexit Li ...
https://man.mtool.work/python/3.14/whatsnew/3.14.html
変更履歴 7645
変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T ... () leaving breakpoints behind when multiple breakpoints are set on the same line. gh-159620 : Fix python -m asyncio ps and pstree stacks stopping at asynchronous generators. Patch by Timofei Ivankov. gh-159458 : Fix a ThreadSanitizer data race on the s ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV 1 NEXT