In my case, ss when piped also corrupts the header as it merges
"Address:Port" and "Process" to read "Address:PortProcess":

$ ss -tpnl | head -n 3| tr ' ' '_'
State__Recv-Q_Send-Q_Local_Address:Port__Peer_Address:PortProcess_________________________________________________________________________________________________________________________________________________________________________________________________________________________
LISTEN_0______4096___127.0.0.53%lo:53_________0.0.0.0:*____users:(("systemd-resolve",pid=1045,fd=15))_____________________________________________________________________________________________________________________________________________________________________________________
LISTEN_0______4096______127.0.0.54:53_________0.0.0.0:*____users:(("systemd-resolve",pid=1045,fd=17))_____________________________________________________________________________________________________________________________________________________________________________________

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888494

Title:
  ss outputs lots of trailing spaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1888494/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to