vurstories.blogg.se

Linux show memory usage by process
Linux show memory usage by process










linux show memory usage by process

You see the Firefox entry in Figure 1? That’s the primary process for Firefox, whereas the Web Content processes are the open tabs. Issue the top command to see that Chrome has numerous processes running (one per tab – Figure 1).Ĭhrome isn’t the only app to show multiple processes. Although you won’t find this on a headless server, say you’ve opened Chrome and noticed your system slowing down. That’s very important, as you could easily have multiple iterations of the same command consuming different amounts of memory. Included in that system summary is the ability to check memory usage on a per-process basis. The top command provides a dynamic, real-time view of a running system. I want to start out with the most obvious tool. Even better, you shouldn’t need to install a single thing (as most of these tools are included). You should, however, find all of these commands available on your distribution of choice. I’ll be demonstrating on the Ubuntu Server 18.04 platform. These tools aren’t terribly hard to use, and in this article, I’ll show you five different ways to approach the problem. Let’s dig into the various Linux command-line tools to help you check into system memory usage. Or, maybe you need to gather information about a Linux swap partition or detailed information about your installed RAM? There are commands for that as well. When that happens, it’s handy to know you have a variety of tools available to help you troubleshoot.

linux show memory usage by process

Second, command-line tools often offer far more power and flexibility than their GUI alternative.ĭetermining memory usage is a skill you might need should a particular app go rogue and commandeer system memory.

linux show memory usage by process

Why? First, you will have to work with a GUI-less Linux server at some point. And, although regular desktop users may not need to become familiar with these tools at the command line, they’re mandatory for Linux admins.

linux show memory usage by process

From simple file and directory tools to very complex security commands, there’s not much you can’t do on Linux. The Linux operating system includes a plethora of tools, all of which are ready to help you administer your systems. For more great SysAdmin tips and techniques check out our free intro to Linux course. This is a classic article written by Jack Wallen from the  archives.












Linux show memory usage by process