Never miss a beat

Join my newsletter.

Tag: ps

List Processes by Memory Usage in Linux

Published: 5/9/2019

I recently was running into an issue where a Systemd service was crashing due to an out of memory error. I was pretty sure that my project wasn’t taking up too much memory, but I wasn’t certain what was. Thankfully, with the use of some command-line wizardry, I was able to find out that Hyper (the terminal app) was using almost 3gb of memory! We have two commands here, each with their own man page should you want to learn more. The first command is ps which displays information about all…