# uniprof.sh > uniprof.sh is a command-line profiling tool for macOS that samples and visualizes CPU usage of running processes in the terminal. uniprof.sh is a lightweight, terminal-based CPU profiling utility for macOS that lets developers quickly sample and inspect the performance of any running process. It leverages macOS's built-in `sample` command under the hood and presents results in a clean, readable format directly in your shell. The tool is designed for developers who want fast, no-frills profiling without leaving the command line. - **Process Sampling**: *Run uniprof.sh with a process name or PID to capture a CPU sample and display a flame-graph-style call tree in the terminal.* - **macOS Native Integration**: *Built on top of macOS's native `sample` utility, ensuring accurate and low-overhead profiling without additional dependencies.* - **Terminal-Friendly Output**: *Results are formatted for readability in the terminal, making it easy to spot hot code paths at a glance.* - **Minimal Setup**: *Install via a single shell script — no package manager or build step required; just download and run.* - **Open Source**: *The project is open source and hosted on GitHub, welcoming contributions and community improvements.* ## Features - CPU process sampling - Terminal-based flame graph output - macOS native sample integration - PID and process name targeting - Single-script installation - Low-overhead profiling ## Integrations macOS sample utility ## Platforms MACOS ## Pricing Open Source ## Links - Website: https://www.uniprof.sh - Documentation: https://github.com/indragiek/uniprof - Repository: https://github.com/indragiek/uniprof - EveryDev.ai: https://www.everydev.ai/tools/uniprof-sh