NotAnArdvark,

Here’s a little script I’ve put in my $PATH, called memsum:


<span style="font-style:italic;color:#969896;">#!/usr/bin/bash
</span><span style="color:#323232;">/usr/bin/ps -eo rss,command --sort -rss </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">egrep $1 </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">awk </span><span style="color:#183691;">'{ hr=$1/1024 ; sum +=hr} END {print sum}'
</span>

Now you can go: memsum firefox or memsum whatever and see that, actually, apps use a ridiculous amount of memory these days.

I can get Firefox up to 8GB by using things like Office 365.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #