阅读背景:

如何检查具有给定PID的进程是否正在运行?

来源:互联网 

I have a program written in C#, running on Linux using Mono. The program writes its PID to a file. Now I want to check wether a process with this PID is running on start up. Is there a way using Mono? If not, how can I accomplish this using standard Linux functions/tools? Or do I have to check /proc/PID/cmdline?I have a program written in C#, running on Linu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: