Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
终止后VMPeak我需要/proc大约一个子进程。
VMPeak
/proc
但是wait()释放了所有资源,所以我会得到:“没有这样的文件或目录”
wait()
如果你能帮助我,我将不胜感激。谢谢!
不可能。进程终止后,进程的 /proc/{pid}/status 文件将被删除。所以你不能提取VMPeak。