I'm trying to close some CLOSE_WAIT localhost processes, and so am trying to get their process id's using 'netstat -anp'.
I've seen multiple posts recommending this, however, everytime I enter this command into terminal, i get this man page message:
netstat: option requires an argument -- p
Usage: netstat [-AaLlnW] [-f address_family | -p protocol]
netstat [-gilns] [-f address_family]
netstat -i | -I interface [-w wait] [-abdgRt]
netstat -s [-s] [-f address_family | -p protocol] [-w wait]
netstat -i | -I interface -s [-f address_family | -p protocol]
netstat -m [-m]
netstat -r [-Aaln] [-f address_family]
netstat -rs [-s]
I don't know what the problem is.