-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory usage seems inaccurate #160
Comments
The
We can actually, I just ignored when I didn't get enough information but this is bad. It'll allow me to test some functions. |
Ok, thanks for the quick reply
…On Thu, Feb 28, 2019, 1:13 PM Guillaume Gomez ***@***.***> wrote:
I'm writing a improved version of top, and when listing the memory usage
of individual processes, I noticed that it doesn't line up with with what's
reported by top or activity monitor. Is there any reason that this wouldn't
be the case? I'm running MacOS Mojave.
The Activity Monitor of Mac doesn't get the same values as htop. So it's
complicated to guess who's right and who's wrong. However, my computation
for the total free memory seems a bit off, I'll try to fix it.
Also, it looks like the get_process_list() function only return processes
started by me and not any started by other users, such as root. Is there a
fix for this?
We can actually, I just ignored when I didn't get enough information but
this is bad. It'll allow me to test some functions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#160 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGIt0MGXftglbhJkLXFiRTR5Sv0NgGlJks5vSBw-gaJpZM4bXVdj>
.
|
I'm writing a improved version of top, and when listing the memory usage of individual processes, I noticed that it doesn't line up with with what's reported by top or activity monitor. Is there any reason that this wouldn't be the case? I'm running MacOS Mojave.
Also, it looks like the
get_process_list()
function only return processes started by me and not any started by other users, such as root. Is there a fix for this?The text was updated successfully, but these errors were encountered: