Location of PID file (or executable) at runtime

Manlio Perillo manlio_perillo at libero.it
Thu Apr 8 01:41:50 MSD 2010


Tronman ha scritto:
> Hi there,
> 
> I'm looking for a way to find the fully qualified path of the "PID" file at run time. 

What do you mean by "run time"?

The path to the PID file is well know.

You just need to check when the file is modified (as an example, using
inotify on Linux or kqueue on FreeBSD)

> [...]


Regards  Manlio



More information about the nginx mailing list