Re:I usually run 'w' first when troubleshooting unknown mach...
by poooogles on Tuesday March 27, 2018 @05:04AM
(#16686588)
netstat is deprecated and has been for a while, you should be using ss from iproute2. Most of the commands should map directly so it's pretty drop in.
[ Parent
| on HN ]
Re:I usually run 'w' first when troubleshooting unknown mach...
by kchoudhu on Tuesday March 27, 2018 @09:08AM
(#16687901)
There's are more kinds of UNIX than Linux, and not all of them have deprecated perfectly functional tools.
Re:I usually run 'w' first when troubleshooting unknown mach...
by mmillin on Tuesday March 27, 2018 @07:29AM
(#16687268)
Only on certain Linux systems is it deprecated. On the BSDs netstat is still the preferred tool.
Re:I usually run 'w' first when troubleshooting unknown mach...
by bloopernova on Tuesday March 27, 2018 @12:29PM
(#16690112)
I like ss if only for the mnemonic "ss 4chan" which sort of but not quite maps to "ss -4tan" ( https://explainshell.com/explain?cmd=ss+-4tan )
Re:I usually run 'w' first when troubleshooting unknown mach...
by y4mi on Tuesday March 27, 2018 @12:54PM
(#16690406)
Thats glorious, gotta remember that one.
Chan is a japanese name ending for children, various communities have created several Anime mascots over the years. Theyre generally suffixed with that -tan, as a cute misspronounciation of chan.
https://en.m.wikipedia.org/wiki/OS-tan
Btw, 4tan should be that 4chan mascot. Ive seen it previously on sankaku complex, but its been too many years ago. Cant find it right now.
/Edit: i probably should mention that you shouldnt visit sankaku complex at work. Its very... Questionable with nudity
Re:I usually run 'w' first when troubleshooting unknown mach...
by mappu on Tuesday March 27, 2018 @03:26PM
(#16691918)
> that 4chan mascot
Re:I usually run 'w' first when troubleshooting unknown mach...
by telchar on Tuesday March 27, 2018 @02:09PM
(#16691187)
This thread has been worth is just to learn about explainshell. I'm so happy that exists.
Re:I usually run 'w' first when troubleshooting unknown mach...
by dod9er on Tuesday March 27, 2018 @10:04AM
(#16688446)
Uh ok, but ss -atpn isnt very readable on my terminal due to linewrap. Anyone with suggestions ?
Re:I usually run 'w' first when troubleshooting unknown mach...
by defen on Tuesday March 27, 2018 @12:13PM
(#16689908)
ss -atpn | column -t
Or pipe into `cat`
Re:I usually run 'w' first when troubleshooting unknown mach...
by sridca on Tuesday March 27, 2018 @09:43AM
(#16688237)
What is `ss`-equivalent of `netstat -atpn`?
Re:I usually run 'w' first when troubleshooting unknown mach...
by liveoneggs on Tuesday March 27, 2018 @11:03AM
(#16689127)
I just use ss -nape most of the time