0

How can I display processes that are using memory between an given interval in terminal? For exemple: processes that are using between 50 and 100 MB of Memory.

I tried:

ps aux | awk '{print $4}' | sort

but this only displays the memory for every process sorted and not in an interval.

1 Answer 1

1

ps aux | awk '$6>50000 && $6<100000 {print $6}' should work, assuming RSS is in KB.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .