Ron Johnson wrote:
Anyone knows of a program (command-line or GUI) to display process information, e.g. which TCP/UDP/Unix sockets are used by the process and what are their ports/hosts/etc. I used to write a little script that parses /proc/net/{tcp,udp,unix} but needs more info/convenience, e.g. displaying which other processes share the same sockets or searching for other processes which occupy a certain port.How can processes share a socket?
By forking, for one. Regards, dave