3 ms·The one I use most often is: lsof -i -P This shows all the open Internet connections and port numbers.by espeed 15y agoThe one I use most often is: lsof -i -P This shows all the open Internet connections and port numbers.