Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 751 Bytes

File metadata and controls

28 lines (20 loc) · 751 Bytes

wsstrace

wsstrace traces the working set size of arbitrary applications. Unlike existing WSS-tracing tools, which trace a single PID, wsstrace traces an entire application, following each of its forks.

Requirements

wsstrace is only supported on Linux 4.3+ due its reliance on procfs, ptrace, and the idle page tracking feature. Note that the idle page tracking feature must be enabled in the kernel and additionally requires the CAP_SYS_ADMIN capability in order to be used.

Quick Start

# Install
cargo install --path .

# Trace application
sudo wsstrace -- echo "hello"

Related tools