You are not logged in.

#1 2017-09-29 19:08:30

kuba-orlik
Member
Registered: 2016-10-12
Posts: 2

ss command not listing processes info when using -p flag

I remember that the -p flag made the ss command show processes related to a given port, but it seems to no longer be the case:

$  ss -ltn 
State       Recv-Q Send-Q Local Address:Port               Peer Address:Port              
LISTEN      0      128      127.0.0.1:27017                        *:*                  
LISTEN      0      128      127.0.0.1:6379                         *:*                  
LISTEN      0      128      127.0.0.1:8080                         *:*                  
LISTEN      0      128      127.0.0.1:80                           *:*                  
LISTEN      0      5        127.0.0.1:631                          *:*                  
LISTEN      0      128      127.0.0.1:443                          *:*                  
LISTEN      0      5            [::1]:631                          *:*                  

$ ss -ltn -p
State       Recv-Q Send-Q Local Address:Port               Peer Address:Port              
LISTEN      0      128      127.0.0.1:27017                        *:*                  
LISTEN      0      128      127.0.0.1:6379                         *:*                  
LISTEN      0      128      127.0.0.1:8080                         *:*                  
LISTEN      0      128      127.0.0.1:80                           *:*                  
LISTEN      0      5        127.0.0.1:631                          *:*                  
LISTEN      0      128      127.0.0.1:443                          *:*                  
LISTEN      0      5            [::1]:631                          *:*   

Offline

#2 2017-09-29 19:20:33

progandy
Member
Registered: 2012-05-17
Posts: 5,193

Re: ss command not listing processes info when using -p flag

You have to be root to get the process output.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB