jldupont
jldupont

Reputation: 96746

D-Bus: is there such a thing as a "D-Bus sniffer"?

Is there such a thing as a "D-Bus sniffer" ?

I would like to "sniff" all (or part) of the messages transiting on D-Bus.

Upvotes: 31

Views: 7959

Answers (4)

LaPriWa
LaPriWa

Reputation: 1803

Qt has a graphical D-Bus browser called qdbusviewer.

Upvotes: 3

Rob Bradford
Rob Bradford

Reputation: 1460

Bustle ( http://willthompson.co.uk/bustle/ ) will help you visualise the flow of messages over the bus. This uses the same basic mechanism as dbus-monitor to monitor the traffic.

From the website:

"Bustle draws sequence diagrams of D-Bus activity, showing signal emissions, method calls and their corresponding returns, with timestamps for each individual event and the duration of each method call. This can help you check for unwanted D-Bus traffic, and pinpoint why your D-Bus-based application isn't performing as well as you like. It also provides statistics like signal frequencies and average method call times."

Upvotes: 11

somebody
somebody

Reputation: 161

If you are looking for a gui with execution possibility try D-Feet

Upvotes: 15

innaM
innaM

Reputation: 47839

The Ubuntu dbus package includes a program named dbus-monitor which seems to do what you want.

Upvotes: 39

Related Questions