I have the following question. On a CentOS machine I run an application which connects to another system. I am interested in finding out on which ports (input/output) the communication happened. The application runs only for a second or so and I cannot get its pid. Is there a way to start a network monitoring of my application? Logging all the ports that were used?
I am not root on the CentOS machine.
Extra info:
- The application is a java wrapper while the basic functionalities are coded in C.
- I cannot use tcpdump/wireshark.
- Since my application is the only one using the remote server, a monitoring based on the remote IP address would be fine too.
Thanks in advance!