I want to know which ports are used by which processes in embedded-linux. Since it is simple embedded-linux, there are no network command lines such as netstat, lsof. (only basic command lines such as cat, cp, echo, etc exist).
A partial solution seems to be to use "cat /proc/net/tcp" and "cat /proc/net/udp" command lines. However, I am not sure the printed list from those command lines shows all ports in use, and the list does not show which process is binded to certain port.
Any comments would be appreciated.