On Dec 8, 2016, at 10:33 AM, Warren Young <warren at etr-usa.com> wrote: > > ls /proc/$(pidof my-dancer-program)/fd | wc -l Minor problem: pidof won’t find your Dancer app unless you search for ‘perl’, and then it will find everything running under Perl. Substitute pgrep -f for pidof.