Merge pull request #803 from lanixzcj/master

rename InActive(file) to Inactive(file) in mem_linux.go
This commit is contained in:
shirou 2019-12-21 15:34:35 +09:00 committed by GitHub
commit c141152a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func VirtualMemoryWithContext(ctx context.Context) (*VirtualMemoryStat, error) {
case "Active(file)":
activeFile = true
retEx.ActiveFile = t * 1024
case "InActive(file)":
case "Inactive(file)":
inactiveFile = true
retEx.InactiveFile = t * 1024
case "Writeback":