On 2018-11-21 14:32, Carlos E. R. wrote:
The other output is from "ps", I guess; I don't know there what "SIZE" means, what exact concept. :-? The SIZE and RSS fields don't count some parts of a process including the page tables, kernel stack, struct thread_info, and struct task_struct. This is usually at least 20 KiB of memory that is always resident. SIZE is the virtual size of the process (code+data+stack). Ah, it counts virtual size too. Then it is not useful for this comparison.
I have to check some home made things from time to time. Top and ps is fine but when I need to dig deeper i turn to procfs. /proc/[PID]/stat /proc/[PID]/statm /proc/[PID]/status Status is probably the most readable for humans :) egrep -i -e ^rss -e ^vm /proc/[PID]/status And then check "man procfs" and section "/proc/[pid]/status" Cheers, -- /bengan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org