From: Kyohei Kadota <lufia@lufia.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: /proc/n/status's memory field
Date: Sat, 15 Aug 2020 02:54:05 +0900 [thread overview]
Message-ID: <CAFMepc=021Hzy5cLTr34RyzL_sNZJgp540iSMizn5YdR232xDg@mail.gmail.com> (raw)
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?
next reply other threads:[~2020-08-14 17:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-14 17:54 Kyohei Kadota [this message]
2020-08-15 4:50 ` Anthony Martin
2020-08-17 11:37 ` [9fans] " Kyohei Kadota
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFMepc=021Hzy5cLTr34RyzL_sNZJgp540iSMizn5YdR232xDg@mail.gmail.com' \
--to=lufia@lufia.org \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).