开发者

Proper pidfile usage

开发者 https://www.devze.com 2022-12-26 11:59 出处:网络
I am unclear on the need and the usage of a pid-file and I wanted to know开发者_C百科 what is the correct usage of a pidfile and what are the best practices surrounding it. in linux, typically in /var

I am unclear on the need and the usage of a pid-file and I wanted to know开发者_C百科 what is the correct usage of a pidfile and what are the best practices surrounding it.


in linux, typically in /var/run there are pidfiles listed for all currently running processes and they contain, obviously, the process id. so when you use commands like ps aux, and they list the process id (PID) as a column, you may use them as a base of comparison

0

精彩评论

暂无评论...
验证码 换一张
取 消