Closed eschultz closed 8 years ago
Without the -P argument lsof will output port names (e.g. 'http') instead of '80' and the regex used in the grep fails to parse anything useful.
-P
lsof
Aie, aie oversight by me. I use a non-standard port myself and didn't notice the disappearance of the -P option.
Thanks for the corrections.
Without the
-P
argumentlsof
will output port names (e.g. 'http') instead of '80' and the regex used in the grep fails to parse anything useful.