9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* /proc/n/status's memory field
@ 2020-08-14 17:54 Kyohei Kadota
  2020-08-15  4:50 ` Anthony Martin
  0 siblings, 1 reply; 3+ messages in thread
From: Kyohei Kadota @ 2020-08-14 17:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-17 11:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-14 17:54 /proc/n/status's memory field Kyohei Kadota
2020-08-15  4:50 ` Anthony Martin
2020-08-17 11:37   ` [9fans] " Kyohei Kadota

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).