News for hackers. Stuff that matters.
Re:I usually run 'w' first when troubleshooting unknown mach... by y4mi on Tuesday March 27, 2018 @07:30AM (#16687276)
> which shows you the processes and owners of open TCP/UDP ports

naw, that would be `netstat -lntup` (listening, nummeric, tcp, udp, programm)

your mentioned command shows essentially all currently active tcp network streams. https://explainshell.com/explain?cmd=sudo+netstat+-atpn

btw, glances is even more complete than htop

https://github.com/nicolargo/glances

Re:I usually run 'w' first when troubleshooting unknown mach... by SpeciesInvader on Tuesday March 27, 2018 @08:44AM (#16687708)
I've been using glances for about a month and am still getting a hang if different UI layouts. It's great for almost any box I'm checking on.