record with open_sockets pid