mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-21 16:22:03 +03:00
Complete fix issue #136
This commit is contained in:
parent
e83eeee67d
commit
0dfc4bd304
@ -732,8 +732,8 @@ class GlancesStats:
|
||||
phymem = psutil.phymem_usage()
|
||||
|
||||
# buffers and cached (Linux, BSD)
|
||||
buffers = getattr(psutil, 'phymem_buffers', lambda: 0)()
|
||||
cached = getattr(psutil, 'cached_phymem', lambda: 0)()
|
||||
buffers = getattr(psutil, 'phymem_buffers', 0)()
|
||||
cached = getattr(psutil, 'cached_phymem', 0)()
|
||||
|
||||
# phymem free and usage
|
||||
total = phymem.total
|
||||
|
Loading…
Reference in New Issue
Block a user