qmi.tools.proc.proc_status

qmi.tools.proc.proc_status(cfg: CfgQmi, context_name: str | None) int

Show the status of one or more processes.

Parameters:
  • cfg – The current QMI configuration.

  • context_name – Process to get status for, or None to get all configured processes.

Raises:

ProcessException – By unexpected error when checking the status.

Returns:

Exit status (0 = success).