阅读背景:

从linux中的pid处理进程名称

来源:互联网 

How to get a process name from his pid ? For example I execute cat file1.txt, but I want to figure out that cat command and its arguments since its pid in the system. Is there a struct to determine it or something similar? Any idea?How to get a process name from his pid ? For ex




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

分享到: