1
0
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:
coderZoe 2024-07-03 16:12:19 +01:00
parent 865b8c3f58
commit 91a267020c

View File

@ -193,9 +193,9 @@ func CgroupMemWithContext(ctx context.Context, containerID string, base string)
ret.Cache = v
case "rss":
ret.RSS = v
case "rssHuge":
case "rssHuge", "rss_huge":
ret.RSSHuge = v
case "mappedFile":
case "mappedFile", "mapped_file":
ret.MappedFile = v
case "pgpgin":
ret.Pgpgin = v