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
...so that it can be used in conjunction with psutil.PROCFS_PATH in order to support Linux containers.
Right now swap_memory() relies on sysinfo syscall exposed as a C extension.
This use case is well summarized here: https://fabiokung.com/2014/03/13/memory-inside-linux-containers/
There are of course other APIs such as disk_partitions() which do not rely on /proc fs and which cannot be used with Linux containers, but memory-related APIs are more important so they deserve to be nicer in this sense.
The text was updated successfully, but these errors were encountered:
...so that it can be used in conjunction with
psutil.PROCFS_PATH
in order to support Linux containers.Right now swap_memory() relies on
sysinfo
syscall exposed as a C extension.This use case is well summarized here:
https://fabiokung.com/2014/03/13/memory-inside-linux-containers/
There are of course other APIs such as
disk_partitions()
which do not rely on /proc fs and which cannot be used with Linux containers, but memory-related APIs are more important so they deserve to be nicer in this sense.The text was updated successfully, but these errors were encountered: