I have two python programs and I want to report them.
Both are system services, and none of them are forked by the parent process.
Is there any way to do this without using sockets?
(for example, by sorting a queue → serialize it → deserialize it by another process and make a connection, or write to the process ID of the file that is being contacted, and then create a magic structure that receives the process ID and sends some messages to this process ...)
The solution should work on Linux and Windows.
source
share