[9fans] Re: /proc/n/status's memory field

2020-08-14 Thread Anthony Martin
Kyohei Kadota once said: > I'm reading proc(3). It describes the status file: > > > the amount of memory used by the process, except its stack, in units of > > 1024 bytes > > In /sys/src/9/pc/port/proc.c, it seems to me that procread sums all > segment's size for that. > Is the above statement

[9fans] /proc/n/status's memory field

2020-08-14 Thread Kyohei Kadota
Hi. I'm reading proc(3). It describes the status file: > the amount of memory used by the process, except its stack, in units of 1024 > bytes In /sys/src/9/pc/port/proc.c, it seems to me that procread sums all segment's size for that. Is the above statement correct? ---