$ lsof | grep -v PID | awk '{print $2}' | sort | uniq | wc -l
294
$ lsof | wc -l
110829
$ echo "scale=3; 110829 / 294" | bc
376.969
Now I just have a little old laptop. It is already a little surprising that there are 294 processes, but how is it that the average number of files open per process is almost 400???
[link] [comments]