Htop vs. System Monitor

Hi, which one is correct?
htop shows 1.7 GB of RAM usage, while the System Monitor shows 2.7 GB. At one point, the System Monitor even showed 3.2 GB, while htop displayed lower usage.

One is probably also including cache, buffers and/or shared memory, while the other does not and only shows application data.

So they are both correct. :wink:

3 Likes

Hi and welcome to the Manjaro community.

As a new forum user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit:

The Update Announcements should be checked frequently for important update related information.

These announcements contain a Known Issues and Solutions section and should generally be checked before posting a request for support.

Output of the following command formatted according to forum requirements (see links above) may be useful for those wishing to help:

inxi --admin --verbosity=8 --filter --no-host --width

Be prepared to provide more information and outputs from other commands when asked.

Regards.

1 Like

Thank you!

1 Like

You can also use the free command to see how much memory is being used.

For example, this is the output of free -h (the -h is for human-readable output) on my system:

free -h  
               total        used        free      shared  buff/cache   available
Mem:            28Gi       5.1Gi       6.8Gi       555Mi        17Gi        23Gi
Swap:           28Gi       5.0Mi        28Gi

I also run Firefox in RAM, which adds a couple of gigabytes to my RAM usage.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.