This tool leverages top
and ps
to get a rough idea of what applications are using excessive memory.
brew install deno
deno run --allow-run=top,ps --check https://deno.land/x/hog@0.0.4/hog.ts
deno install --allow-run=top,ps https://deno.land/x/hog@0.0.4/hog.ts
or to update
deno install -f --allow-run=top,ps https://deno.land/x/hog@0.0.4/hog.ts
hog
to show PIDs for top level processes that were collapsed by name:
hog -p