0

I have a server with several users, one of them has a script to connect to an external server.

How can I see the external connection to the server (I know the IP address), so the program used and the user who is running it?

I tried with netstat -atn but the it stops outputting after 10 rows.

1

You can use lsof for this; as root:

lsof -i @address

(replacing address with the IP address of the server).

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.