Difference between the results of the top command and System-Monitor,Why?
If you are referring to RAM usage, it is because system monitor does not include buffers and caching, just actual Ram used to run applications, top is slightly confusing because it does not obviously show disk usage after buffers / caching. Try using the following command :
free -m
See the image below, and note that the second line of free -m indicates available Ram, whilst the first line indicates actual Ram usage including disk caching.
I would recommend installing and using htop
as it is better and simpler than top
in my opinion.
Related videos on Youtube
Ankit
Linux user since December, 2010. Have worked on various linux distros like red-hat, CENTOS and Ubuntu-desktop. Believe me Ubuntu-d is the best i have used. Junior Java Developer
Updated on September 18, 2022Comments
-
Ankit over 1 year
Why is there a huge difference between the outputs' of top command and the system monitor when both programs were run at the same time. Please find attached is the screen shot showing the huge difference:-
Is this a bug?
-
Admin over 11 yearsDifference in terms of memory usage, processes running?? Choose view > all processes to show them all in System Monitor. See this discussion also askubuntu.com/q/49608
-
Admin over 11 yearsI think the link I quoted should help as that is about RAM usage. I find htop, which is in the repositories, is easier to use than top and gives clearer results.
-