Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jalalmostafa/socktrace

A tool to trace BSD sockets concurrency behavior using eBPF
https://github.com/jalalmostafa/socktrace

bsd-sockets ebpf ebpf-programs linux linux-kernel socket-programming sockets

Last synced: about 1 month ago
JSON representation

A tool to trace BSD sockets concurrency behavior using eBPF

Awesome Lists containing this project

README

        

# sockstats
A tool to discover BSD sockets concurrency statistics using eBPF

## To do

- [ ] Use TUI to print output
- [ ] Add option to output to file

## Usage

```bash
Usage:
./src/sockstats

An eBPF tool to monitor how many threads did a socket use
-h Print this help message
-t Fetch statistics every seconds.
Default fetch at end of program or received signal to quit.
```

## Build

```bash
# install dependencies
apt install clang llvm libelf-dev build-essential linux-tools-common linux-tools-generic linux-headers-$(uname -r) linux-tools-$(uname -r)-generic
git clone --recursive https://github.com/jalalmostafa/sockstats.git
cd sockstats
make
```