Software >> OS >> Unix >> Solaris >> How to determine the number of file descriptors used by a process

 

pfiles pid

where pid is the process id

Note the lines preceded by number:

the maximum file descriptor is shown at the start of the command output

....

Current rlimit: nnnn file descrptors

0: ...
1: ...
etc