MESSAGE
DATE | 2016-07-24 |
FROM | Rick Moen
|
SUBJECT | Re: [Hangout-NYLXS] DNS issues behind hotel wifi
|
Quoting Rick Moen (rick-at-linuxmafia.com):
> Quoting Ruben Safir (mrbrklyn-at-panix.com): > > > I think systemd took control of the sockets? I'm just not sure > > Find out. > > $ su - > # netstat -ntupl | grep ':53'
By the way, other tools useful for the same task include /usr/bin/fuser, /bin/lsof, /usr/bin/sysdig, /sbin/ss, and /sbin/ip. _Or_ you could grep through /proc/$pid/ to find which process is holding a specific port open.
/sbin/ss and /sbin/ip are new-school tools from iproute2. netstat and fuser are very old-school, and frankly deprecated at this point.
http://www.linux-magazine.com/Issues/2015/181/Querying-Sockets-with-ss http://unix.stackexchange.com/questions/157823/list-ports-a-process-pid-is-listening-on-preferably-using-iproute2-tools _______________________________________________ hangout mailing list hangout-at-nylxs.com http://www.nylxs.com/
|
|