lsof -n |awk '{print $2}'|sort|uniq -c |sort -nr结果是以 打开的文件描述符数量:进程号 的格式排序的 。降序排序 转载于:https://blog.51cto.com/khaozi/1842127