Skip to content

Instantly share code, notes, and snippets.

@pfactum pfactum/3_fds.txt
Created May 20, 2017

Embed
What would you like to do?
[~]$ ss -ip | grep -E 'opera.*fd=(110|117)'
u_str ESTAB 0 0 * 113427 * 116477 users:(("opera",pid=8013,fd=117))
u_str ESTAB 0 0 * 113411 * 116474 users:(("opera",pid=8013,fd=110))
[~]$ lsof -a -p 8013 | awk '$4 == "110u" || $4 == "117u"'
opera 8013 pf 110u unix 0xffff880334e12400 0t0 113411 type=STREAM
opera 8013 pf 117u unix 0xffff880334e16c00 0t0 113427 type=STREAM
[~]$ grep ffff880334e12400 /proc/net/unix
ffff880334e12400: 00000003 00000000 00000000 0001 03 113411
[~]$ grep ffff880334e16c00 /proc/net/unix
ffff880334e16c00: 00000003 00000000 00000000 0001 03 113427
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.