integrated with library, greatly simplified code to almost nothing
set linux only
moved check_file_descriptors.pl to ../check_file_descriptors.pl