Gnome system monitor vs htop on RAM usage

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
fch
Posts: 263
Joined: 2021-09-06 15:44
Has thanked: 47 times
Been thanked: 5 times

Gnome system monitor vs htop on RAM usage

#1 Post by fch »

Hello, any one can tell why there's a huge difference on RAM usage on gnome system monitor showing much more than on htop?

User avatar
NorthEast
Posts: 358
Joined: 2018-11-18 04:35
Has thanked: 12 times
Been thanked: 31 times

Re: Gnome system monitor vs htop on RAM usage

#2 Post by NorthEast »

An initial look at the files which each application opens might be of interest. For that one can run, for example:

Code: Select all

lsof -c htop
and compare the number and nature of the files against the output of the command which opens the gnome system monitor. I'm not familiar with the gnome app but I guess it has a command to open it. If one can determine the PID of the gnome app, then the results of the lsof command can also be obtained from:

Code: Select all

lsof -p <PID-of-gnome-app>

Post Reply