List open files
24 June 2011

To view and/or count the open files belonging to a process

List:

ls -l /proc/[pid]/fd

Count:

ls -l /proc/[pid]/fd | wc -l
Comments: