Get the PID of a service
Ben Lau
xbenlau at gmail.com
Thu Sep 6 23:08:36 PDT 2007
Hi all,
According to the D-Bus specification, it could get the UNIX uid of
the process connected to the server through the GetConnectionUnixUser
method by org.freedesktop.DBus . How about PID? Can I get the PID of a
connected service by using existing interface? Or it must be
implemented by a custom method?
Because I am writing an watchdog to monitor few services connected
to DBus, I need the PID in order to kill non-responding service.
Thanks for any advise.
More information about the dbus
mailing list