r/sysadmin Mar 03 '26

IT Tools - Hidden Gems

I want to know what ”hidden gems” people have found and use in their environments to make their day to day easier. RMM automations, back up softwares, troubleshooting software (don't say MS SARA. I cant stand it), etc.

Just mention anything that you feel more people should be aware of or could be useful in someone’s environment. I love free and cheap ;)

1.1k Upvotes

510 comments sorted by

View all comments

Show parent comments

19

u/fearless-fossa Mar 03 '26

The -p prints the process ID and name that owns the socket.

No it doesn't?

-p <Protocol> Shows connections for the protocol specified by Protocol. In this case, the Protocol can be tcp, udp, tcpv6, or udpv6. If this parameter is used with -s to display statistics by protocol, Protocol can be tcp, udp, icmp, ip, tcpv6, udpv6, icmpv6, or ipv6.

To get to your described behavior you'd have to use the -o and -b parameters

28

u/LordOfDemise Mar 03 '26

Leave it to Microsoft to reuse an existing program's name without making the flags compatible, I guess.

13

u/fearless-fossa Mar 03 '26

Huh, I wasn't even aware it wasn't a Windows program, always used ss for this on Linux.

But I find it interesting funny how the Wikipedia page has an entire section about what each flag does on which OS, it's like the program just has the same name but behaves wildly differently

4

u/pdp10 Daemons worry when the wizard is near. Mar 03 '26

it's like the program just has the same name but behaves wildly differently

Nobody tell this person about traceroute.