Merge pull request #803 from lanixzcj/master
rename InActive(file) to Inactive(file) in mem_linux.go
This commit is contained in:
commit
c141152a7b
|
@ -67,7 +67,7 @@ func VirtualMemoryWithContext(ctx context.Context) (*VirtualMemoryStat, error) {
|
||||||
case "Active(file)":
|
case "Active(file)":
|
||||||
activeFile = true
|
activeFile = true
|
||||||
retEx.ActiveFile = t * 1024
|
retEx.ActiveFile = t * 1024
|
||||||
case "InActive(file)":
|
case "Inactive(file)":
|
||||||
inactiveFile = true
|
inactiveFile = true
|
||||||
retEx.InactiveFile = t * 1024
|
retEx.InactiveFile = t * 1024
|
||||||
case "Writeback":
|
case "Writeback":
|
||||||
|
|
Loading…
Reference in New Issue