help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about proced


From: Eli Zaretskii
Subject: Re: Questions about proced
Date: Sat, 06 Apr 2024 20:47:05 +0300

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]