What is PID file in Linux?

What is PID file in Linux?
Answer
A PID file is a file which contains the PID of the executable which generated it. When an application terminates, that file is removed. If it is removed while the application is running, the application terminates. If the application restarts, a new PID is written to the file.
 

Tìm kiếm

Back
Top