Can aix identify udp port on Linux?

Asked By 10 points N/A Posted on -

Hi friends,

I am a new user of Linux operating system. I want to detect that a process is using TCP port or UDP port. Is it able to trace what port is being used in any process? I want to find out the information on AiX. Can aix identify udp port? Please tell me step by step process  to do this. Any idea and suggestion are highly welcomed. Waiting for a prompt and positive response.

Answered By 0 points N/A #179809

Can aix identify udp port on Linux?




If you use the command for checking processes currently running in the system, the outputs from that command will let you know the ports as well as the port types (UDP or TCP) being used by all processes. The outputs are shown as a list from which you can observe the particular process that you are interested in. Alternatively, you can filter the outputs to begin with by combining the "grep" command with the "ps" command.
Here are the commands.
ps -ef (without any filter)
ps -ef | grep -i processname (with a filter so that your process is displayed if found)
Hope it helps.
Best Regards,

Login/Register to Answer

Related Questions