You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a Docker container for a plugin service that will be able to read the resource stats from the Docker host. In the container, I have to pass the host's proc directory as /host/proc instead of slapping it over the container's /proc. This requirement renders this library useless for reading the host's proc info, since it assumes where proc is located on a linux machine. If I could inject the read path into your utility, I wouldn't have to write a custom parser for this project.
Either a setting like psutil.proc_path = "/host/proc" or an object with the path initializer, util = PsUtil("/host/proc") would be awesome to have.
The text was updated successfully, but these errors were encountered:
I'm writing a Docker container for a plugin service that will be able to read the resource stats from the Docker host. In the container, I have to pass the host's proc directory as
/host/proc
instead of slapping it over the container's/proc
. This requirement renders this library useless for reading the host's proc info, since it assumes where proc is located on a linux machine. If I could inject the read path into your utility, I wouldn't have to write a custom parser for this project.Either a setting like
psutil.proc_path = "/host/proc"
or an object with the path initializer,util = PsUtil("/host/proc")
would be awesome to have.The text was updated successfully, but these errors were encountered: