I have three conflicting sources of information on a process' memory usage. I'm using gnome-terminal as the example process.
ps aux
reports a usage of 624480
units for pid 31880 (I say units, because I don't know what it uses as unit), but according to https://superuser.com/a/117921/403466, it's in bytes.
Then I have /proc/31880/status
which tells me it's the same amount, but the units are kB:
[...]
VmPeak: 624480 kB
VmSize: 624480 kB
VmLck: 0 kB
[...]
which translates to 624 MiB (completely impossible?); and finally I have gnome-system-monitor
which gives me approx. 9.9 MiB.
Which one is correct?