Skip to content

Commit

Permalink
Merge pull request #494 from gaius-qi/feature/vmstat
Browse files Browse the repository at this point in the history
Fix parseVMStatNUMA return wrong VMStat in nr_zone_inactive_file
  • Loading branch information
SuperQ authored Feb 23, 2023
2 parents 8e530b9 + 31842f6 commit 9ccf0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysfs/vmstat_numa.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func parseVMStatNUMA(r []byte) (VMStat, error) {
case "nr_zone_active_anon":
vmStat.NrZoneActiveAnon = fv
case "nr_zone_inactive_file":
vmStat.NrZoneActiveFile = fv
vmStat.NrZoneInactiveFile = fv
case "nr_zone_active_file":
vmStat.NrZoneActiveFile = fv
case "nr_zone_unevictable":
Expand Down

0 comments on commit 9ccf0f8

Please sign in to comment.