Linux : Count Open Files for Process

Solution 1:

If you want check for one process which you know pid try this

ls /proc/$pid/fd/ | wc -l