From 1f70b0876a9388f38422c12fa0c73761559d9425 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 30 Oct 2014 01:13:11 +0100 Subject: busctl: add new "capture" verb to record bus messages in libpcap compatible files, for dissection with wireshark --- man/busctl.xml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'man/busctl.xml') diff --git a/man/busctl.xml b/man/busctl.xml index 9865b17d54..b358bc4cd9 100644 --- a/man/busctl.xml +++ b/man/busctl.xml @@ -133,6 +133,16 @@ along with systemd; If not, see . + + + + + When used with the capture command + specifies the maximum bus message size to capture + ("snaplen"). Defaults to 4096 bytes. + + + @@ -166,6 +176,19 @@ along with systemd; If not, see . bus. + + capture NAME + + Similar to monitor but + writes the output in pcap format (for details see the Libpcap + File Format description. Make sure to redirect the + output to STDOUT to a file. Tools like + wireshark1 + may be used to dissect and view the generated + files. + + status NAME @@ -191,7 +214,8 @@ along with systemd; If not, see . sd-bus3, systemd1, systemd-bus-proxyd8, - machinectl1 + machinectl1, + wireshark1 -- cgit v1.2.3-54-g00ecf