9 replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
source | link

This solution, though working, is of limited interest since if you have a recent-enough systemtap, chances are you'll have a recent-enough kernel where you can use ss basedss based approachesapproaches, and if you're on an older kernel, that other solutionthat other solution, though more hacky is more likely to work and doesn't require addition software.

Still useful as a demonstration of how to use systemtap for this kind of task.

This solution, though working, is of limited interest since if you have a recent-enough systemtap, chances are you'll have a recent-enough kernel where you can use ss based approaches, and if you're on an older kernel, that other solution, though more hacky is more likely to work and doesn't require addition software.

Still useful as a demonstration of how to use systemtap for this kind of task.

This solution, though working, is of limited interest since if you have a recent-enough systemtap, chances are you'll have a recent-enough kernel where you can use ss based approaches, and if you're on an older kernel, that other solution, though more hacky is more likely to work and doesn't require addition software.

Still useful as a demonstration of how to use systemtap for this kind of task.

8 added 541 characters in body
source | link

This solution, though working, is of limited interest since if you have a recent-enough systemtap, chances are you'll have a recent-enough kernel where you can use ss based approaches, and if you're on an older kernel, that other solution, though more hacky is more likely to work and doesn't require addition software.

Still useful as a demonstration of how to use systemtap for this kind of task.

This solution, though working, is of limited interest since if you have a recent-enough systemtap, chances are you'll have a recent-enough kernel where you can use ss based approaches, and if you're on an older kernel, that other solution, though more hacky is more likely to work and doesn't require addition software.

Still useful as a demonstration of how to use systemtap for this kind of task.

7 added 146 characters in body
source | link

systemtap here is used to dump the address and peer address of all the unix_sock structures in the unix_socket_table hash in the kernel.

Only tested on Linux 3.16 amd64 with systemtap 2.6, and 3.13 with 2.3.

Only tested on Linux 3.16 amd64 with systemtap 2.6, and 3.13 with 2.3.

systemtap here is used to dump the address and peer address of all the unix_sock structures in the unix_socket_table hash in the kernel.

Only tested on Linux 3.16 amd64 with systemtap 2.6, and 3.13 with 2.3.

6 added 300 characters in body
source | link
5 made it compatible with earlier versions of systemtap.
source | link
4 edited body
source | link
3 added 15 characters in body
source | link
2 added 93 characters in body
source | link
1
source | link