Repository
Current version released
4 years ago
Dependencies
std
Hog
This tool leverages top and ps to get a rough idea of what applications are using excessive memory or CPU.
Try It Out
brew install deno
deno run --allow-run=top,ps --check https://deno.land/x/hog/hog.tsInstalling
deno install --allow-run=top,ps https://deno.land/x/hog/hog.tsRunning
hogto show PIDs for top level processes that were collapsed by name:
hog -pto see CPU usage
hog cpunote that this will take a few seconds as the default is to take 4 samples. To get CPU usage over more samples:
hog cpu -s 20