mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-24 13:48:56 +08:00
fix: docker_momory in centos_7.5 & docker_1.13.1
This commit is contained in:
parent
865b8c3f58
commit
91a267020c
@ -193,9 +193,9 @@ func CgroupMemWithContext(ctx context.Context, containerID string, base string)
|
|||||||
ret.Cache = v
|
ret.Cache = v
|
||||||
case "rss":
|
case "rss":
|
||||||
ret.RSS = v
|
ret.RSS = v
|
||||||
case "rssHuge":
|
case "rssHuge", "rss_huge":
|
||||||
ret.RSSHuge = v
|
ret.RSSHuge = v
|
||||||
case "mappedFile":
|
case "mappedFile", "mapped_file":
|
||||||
ret.MappedFile = v
|
ret.MappedFile = v
|
||||||
case "pgpgin":
|
case "pgpgin":
|
||||||
ret.Pgpgin = v
|
ret.Pgpgin = v
|
||||||
|
Loading…
x
Reference in New Issue
Block a user