name resolving of dbus-monitor output

Will Thompson will.thompson at collabora.co.uk
Fri Jul 16 06:00:38 PDT 2010


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


More information about the dbus mailing list