Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jalalmostafa/socktrace
- Owner: jalalmostafa
- License: bsd-3-clause
- Created: 2024-08-20T14:21:07.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-06T10:32:19.000Z (4 months ago)
- Last Synced: 2024-10-12T07:41:19.019Z (2 months ago)
- Topics: bsd-sockets, ebpf, ebpf-programs, linux, linux-kernel, socket-programming, sockets
- Language: C
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/sockstatsAn 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
```