I'm trying to figure out whether I have a leak in file descriptors using lsof. The -c option to lsof is defined as:
- Selects the listing of files for processes executing the command that begins with the characters of c.
If that's true then why do these two commands report different numbers?
$ lsof -c gunicorn | wc -l
589
$ lsof | grep ^gunicorn | wc -l
29154