implementation of netstat on device and small bug fix on str(ip)
prepare lsof and netstat