from dbus , how do i find if app went down

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Jul 3 06:38:19 PDT 2015


On 03/07/15 10:58, Pradeepa Kumar wrote:
> I am writing lib which will monitor apps and notify/callback higher
> level  if apps went down.

If they are connected to D-Bus, you will see a NameOwnerChanged signal
indicating that the owner of their bus name changed from a non-empty
value to the empty string.

If they are not, and when you say "app" you really mean "systemd unit",
then this is a question about systemd, which D-Bus developers do not
have any special knowledge about.

-- 
Simon McVittie
Collabora Ltd. <http://www.collabora.com/>



More information about the dbus mailing list