-
Notifications
You must be signed in to change notification settings - Fork 20
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
More ps_handle class methods #24
Comments
+1 for set_cpu_affinity! Just needs |
Calling external commands is not great in R, and small Docker containers might not have There is also API for it on Windows: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprocessaffinitymask It seems impossible on macOS, though. |
I was just looking for the |
@brianmsm Well, these are things I might implement in the future, or things I am happy to get help with. What do you need from ❯ ps::ps_memory_info()
rss vms pfaults pageins
81592320 419098476544 5515 42 |
Well, following the psutil documentation in python, the |
Great! Thank you very much, I'll be waiting for you to join the main branch :D |
CPU affinity happening here, FYI: #123 |
nice()
(get + set)ionice()
rlimit()
io_counters()
num_ctx_switches()
num_fds()
num_handles()
threads()
cpu_percent()
cpu_affinity()
cpu_num()
memory_full_info()
memory_percent()
memory_maps()
open_files()
connections()
wait()
The text was updated successfully, but these errors were encountered: