Skip to content

Instantly share code, notes, and snippets.

@pfactum
Created May 20, 2017 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfactum/5aee3ef7d487a67e23d7d001f2c46ea6 to your computer and use it in GitHub Desktop.
Save pfactum/5aee3ef7d487a67e23d7d001f2c46ea6 to your computer and use it in GitHub Desktop.
[~]$ 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