How do I determine what's running on port 25 below?
nicholas@mordor:~$
nicholas@mordor:~$ ss -tlpn sport 25
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 100 127.0.0.1:25 0.0.0.0:*
LISTEN 0 100 [::1]:25 [::]:*
nicholas@mordor:~$
Can I trace this using ps
somehow?
In the context of:
You've passed the
-p
(--processes
) flag toss
- but theProcess
column is empty because you don't have sufficient privileges. Howevershould show something like
users:(("master",pid=1546,fd=13))
. Alternatively (again with elevated privileges)You can then interrogate using the PID from above ex.
or (if it is not a systemd service)
or for information about the process hierarchy if you have installed
pstree