status
Check the current IPython workspace, kernel status, and execution counts to confirm whether the kernel is running or busy.
Instructions
返回 workspace、kernel 与最近执行记录的观察状态。
状态范围
返回当前 IPython 工作台启动时解析的 workspace、其
workspace_resolution 来源
类别、Python 解释器、kernel PID、kernel 是否已启动,以及 kernel 是否
正忙。workspace_resolution 只能是 launch_cwd 或
explicit_config;它不公开 resolver 的路径或内容,也不公开 kernel
session 的 private runtime root。忙碌时 current_execution 是正在
运行的正整数执行编号;空闲时 recent_execution 是最近一次被接受的
执行编号。kernel-local execution count 只用于诊断,不能用来选择
loommux execution。
.. code-block:: text
可见标签 In [N]
=
loommux execution N
!=
IPython kernel-local execution_countIPython 通过原生 ZMQ 协议连接,拥有完整能力。
Returns: 当前 IPython 工作台与 kernel 的状态快照。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||