-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Provide live values corresponding to Process.Rlimit() #344
Comments
Started looking into this as we need this functionality. Implementing this could be rather messy.
As you can see, getting the active values is kinda scattered all over the place. It's also entirely possible that different OSs might implement them differently (such as cpu time limit might be user time only, and not system time). I think the cleanest implementation might be to instead expand P.S. Why does |
Currently gopsutil provides (*Process).Rlimit(), but several of the resources who's limits are made available there, are not available for retrieval of their current values. For example locked memory, or stack size.
(This request was originally part of #343, but I'm breaking them apart as they really are separate, just related)
(Ref: influxdata/telegraf#2617)
The text was updated successfully, but these errors were encountered: