Skip to main content
Deno 2 is finally here 🎉️
Learn more

Hog

This tool leverages top and ps to get a rough idea of what applications are using excessive memory.

Screen Shot 2022-06-08 at 13 14 27

Try It Out

brew install deno
deno run --allow-run=top,ps --check https://deno.land/x/hog@0.0.2/hog.ts

Installing

deno install --allow-run=top,ps https://deno.land/x/hog@0.0.2/hog.ts

or to update

deno install -f --allow-run=top,ps https://deno.land/x/hog@0.0.2/hog.ts

Running

hog

to show PIDs for top level processes that were collapsed by name:

hog -p