man dbus-monitor (Commandes) - debug probe to print message bus messages

NAME

dbus-monitor - debug probe to print message bus messages

SYNOPSIS

dbus-monitor [--system | --session] [watch expressions]

DESCRIPTION

The dbus-monitor command is used to monitor messages going through a D-BUS message bus. See http://www.freedesktop.org/software/dbus/ for more information about the big picture.

There are two well-known message buses: the systemwide message bus (installed on many systems as the "messagebus" service) and the per-user-login-session message bus (started each time a user logs in). The --system and --session options direct dbus-monitor to monitor the system or session buses respectively. If neither is specified, dbus-monitor monitors the session bus.

In order to get dbus-monitor to see the messages you are interested in, you should specify a set of watch expressions as you would expect to be passed to the dbus_bus_add_watch function.

The message bus configuration may keep dbus-monitor from seeing all messages, especially if you run the monitor as a non-root user.

OPTIONS

--system
Monitor the system message bus.
--session
Monitor the session message bus. (This is the default.)

EXAMPLE

Here is an example of using dbus-monitor to watch for the gnome typing monitor to say things

dbus-monitor "type='signal',sender='org.gnome.TypingMonitor',interface='org.gnome.TypingMonitor'"

AUTHOR

dbus-monitor was written by Philip Blundell.

BUGS

Please send bug reports to the D-BUS mailing list or bug tracker, see http://www.freedesktop.org/software/dbus/