How to monitor ports and connection in real time in Arch linux ? I can use watch combine with ss -tulpn, but when pipe it to less -S (to disable line wrap), the output is nothing.

$sudo watch ss -tulpn | less -S

Somehow watch can't be use with less -S together , anyway to solve this ?

What are the ways to monitor ports and connection in realtime in archlinux apart from Watch SS and Watch netstat ?


  • just put the command in single quotes like sudo watch 'ss -tulpn | less -S'. – binarysta Jan 25 at 22:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.