name resolving of dbus-monitor output

Sven sven.2009 at gmx.de
Fri Jul 16 06:09:51 PDT 2010


Thank you.

dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID string::1.15

it did the job for me.

br, Sven

-------- Original-Nachricht --------
> Datum: Fri, 16 Jul 2010 14:00:38 +0100
> Von: Will Thompson <will.thompson at collabora.co.uk>
> An: dbus at lists.freedesktop.org
> Betreff: Re: name resolving of dbus-monitor output

> On 16/07/10 13:46, Sven wrote:
> > Hello dbus-ml,
> >
> > when i use dbus-monitor the sender= value is numerical.
> > But i need to know the name (or at least figure out the pid somehow).
> > How can i do this?
> 
> Call org.freedesktop.DBus.GetConnectionUnixProcessID() on 
> /org/freedesktop/DBus on the service org.freedesktop.DBus, and pass it 
> the bus name you're interested in.
> -- 
> Will
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus


More information about the dbus mailing list