lsof-org / lsof

LiSt Open Files
https://lsof.readthedocs.io
Other
414 stars 104 forks source link

Lsof.8: *service* not mentioned in `-P` description #297

Open paulmenzel opened 10 months ago

paulmenzel commented 10 months ago

https://github.com/lsof-org/lsof/blob/98d6130fb5eab1b19e2d1eaa2f05f014e0ce8e52/Lsof.8#L1402-L1404

I tried to find the switch using service as keyword, and ended up using a search engine. I am ignorant of the terminology, but could it be

inhibits the conversion of port numbers to service names

or

inhibits the conversion of port numbers to port names (from /etc/services)

jiegec commented 10 months ago

Thanks for pointing it out, could you create a pull request?

paulmenzel commented 10 months ago

Sure. Which one of the two options do you prefer?

jiegec commented 10 months ago

Sure. Which one of the two options do you prefer?

inhibits the conversion of port numbers to port names for network files (the mapping is commonly learned from /etc/services)