What is a .pid file and what does it contain?

I recently come across a file with the extension .pid and explored inside it but didn’t find much. The documentation says:

A Pid-File is a file containing the process identification number (pid) that is stored in a well-defined location of the filesystem thus allowing other programs to find out the pid of a running script.

Can anyone shed more light on this, or guide me to details of what’s contained in the pid file?

4 Answers
4

Leave a Comment