← 返回命令列表

Linux command

pw-dump 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

pw-dump

Example

pw-dump [object_id]

Example

pw-dump -m

Example

pw-dump -r [remote_name] > [path/to/dump.json]

Example

pw-dump -C [never|always|auto]

说明

pw-dump outputs PipeWire's current state as JSON, including nodes, devices, modules, ports, links, and other objects. This comprehensive dump is useful for debugging, scripting, and understanding the current audio/video configuration. The output includes object properties, formats, parameters, and relationships between components. The monitor mode keeps running and outputs changes as they occur.

参数

-m, --monitor
Monitor for changes and dump again on updates
-r, --remote _name_
Connect to remote PipeWire instance
-N, --no-colors
Disable color output.
-C, --color _mode_
Color mode: never, always, or auto.
--version
Show version information.
-h, --help
Display help message.

FAQ

What is the pw-dump command used for?

pw-dump outputs PipeWire's current state as JSON, including nodes, devices, modules, ports, links, and other objects. This comprehensive dump is useful for debugging, scripting, and understanding the current audio/video configuration. The output includes object properties, formats, parameters, and relationships between components. The monitor mode keeps running and outputs changes as they occur.

How do I run a basic pw-dump example?

Run `pw-dump` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -m, --monitor do in pw-dump?

Monitor for changes and dump again on updates