std.ps.find_by_inode

std.ps

find_by_inode(inode) -> process

Find the process holding a socket by its inode number

Searches /proc for the process holding a socket by its inode number. Returns a string in the format "process_name(pid)" or an empty string if no process is found.