更新时间:2023-11-28 11:41:52
计算/proc/<pid>/fd/中的条目.可以在/proc/<pid>/limits中找到适用于该过程的硬性限制和软性限制.
/proc/<pid>/fd/
/proc/<pid>/limits
Count the entries in /proc/<pid>/fd/. The hard and soft limits applying to the process can be found in /proc/<pid>/limits.
检查 Linux 中给定进程的开放 FD 限制
检查Linux中给定进程的开放FD限制