1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/pw-dump.md

30 lines
740 B
Markdown
Raw Normal View History

2023-12-27 03:34:31 -03:00
# pw-dump
> Dump PipeWire's current state as JSON, including the information on nodes, devices, modules, ports, and other objects.
> See also: `pw-mon`.
> More information: <https://docs.pipewire.org/page_man_pw-dump_1.html>.
- Print a JSON representation of the default PipeWire instance's current state:
`pw-dump`
- Print a JSON representation of an object:
`pw-dump {{object_id}}`
2025-03-17 23:17:57 +02:00
- Dump the current state monitoring changes, printing it again:
2023-12-27 03:34:31 -03:00
2025-03-17 23:17:57 +02:00
`pw-dump {{[-m|--monitor]}}`
2023-12-27 03:34:31 -03:00
2025-03-17 23:17:57 +02:00
- Dump the current state of a remote instance to a file:
2023-12-27 03:34:31 -03:00
2025-03-17 23:17:57 +02:00
`pw-dump {{[-r|--remote]}} {{remote_name}} > {{path/to/dump_file.json}}`
2023-12-27 03:34:31 -03:00
2025-03-17 23:17:57 +02:00
- Set a color configuration:
2023-12-27 03:34:31 -03:00
2025-03-17 23:17:57 +02:00
`pw-dump {{[-C|--color]}} {{never|always|auto}}`
2023-12-27 03:34:31 -03:00
- Display help:
2025-03-17 23:17:57 +02:00
`pw-dump {{[-h|--help]}}`