-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Linux] batch multiple process info in one shot #2454
Labels
Comments
@giampaolo I did investigate it a bit after I have shared with you. It appears that in theory there are a few alternative methods had been discussed a while ago but I think they have never materialized in the main Linux releases (despite the obvious shortcomings in the /proc API calls). I could be wrong but that is my impression. :(. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a reminder ticket to investigate some links that @iglendd shared in #2366:
I didn't investigate any of these links, so I'm not sure if this is even possible, but more or less the idea here is to fetch info about multiple process in one shot, and integrate this in
psutil.process_iter()
. Or to put it another way, there may (or rather will) be an alternative method to reading pseudo-files from/proc
, which is quite expensive on Linux (in fact it may be the slowest implementation across all supported platforms).The text was updated successfully, but these errors were encountered: