What's the unit of RSS in psutil.Process.get_memory_info?
The output of ps is in kiloBytes. RSS (resident set size) from psutil is in bytes.
>>> 802816 / 784
1024
From man ps
:
rss RSS resident set size, the non-swapped physical
memory that a task has used (in kiloBytes). (alias rssize, rsz).