On Sun, 16.04.17 23:48, Enrico Weigelt, metux IT consult 
([email protected]) wrote:

> 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.

Please always check the man pages if you have questions regarding a
specific systemd interface:

https://www.freedesktop.org/software/systemd/man/sd_notify.html

It provides an overview of the various messages, and comes with
examples. It should answer all your questions.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to