unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Questions about proced
Date: Sat, 06 Apr 2024 20:47:05 +0300	[thread overview]
Message-ID: <86ttke1izq.fsf@gnu.org> (raw)
In-Reply-To: <871q7i6c0q.fsf@zohomail.eu> (message from Rahguzar on Sat, 06 Apr 2024 11:57:09 +0200)

> From: Rahguzar <rahguzar@zohomail.eu>
> Date: Sat, 06 Apr 2024 11:57:09 +0200
> 
> I have a question about proced:
> 
> 1) The pmem construct in proced corresponds to the percentage of memory used
> by a process. However the total memory used for this calculation
> includes swap. Is it possible to limit this to just RAM?

I'm not sure I understand: you do have rss in the attributes, and I
presume that the amount of physical RAM in the system is well known,
so why is it a problem?

> 2) The pcpu construct displays the percentage of cpu used by a process.
> However it seems like it uses a very long interval to calculate this
> percentage. So often processes which are basically idle now show up at
> the top when sorting the processes by pcpu and I can see the cpu used by
> them decaying slowly. Is it possible to use a shorter interval for pcpu?

AFAIK, this is calculated by the OS, not by Emacs.



  reply	other threads:[~2024-04-06 17:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-06  9:57 Questions about proced Rahguzar
2024-04-06 17:47 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-07 15:33 Rahguzar
2024-04-07 16:09 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ttke1izq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).