[systemd-devel] what is sd_notify() really for ?

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Sun Apr 16 21:48:46 UTC 2017


Hi folks,


I just wonder what sd_notify()+friends is really for. What does the
service manager actually do with that information?

Is this just informational or does it do certain decisions (eg.
starting/stopping other depending services, etc) on that ?

Is this somehow related to systems monitoring (like eg.nagios does) ?

What is the meaning of the optional PID here ? Can one process send
notifications on behalf of another ?

A few examples of real world usecases would be very helpful.


thx.

--mtx


More information about the systemd-devel mailing list