#!/bin/bash lsof -p $(pidof main) | wc -l > ./fd_Check