Skip to content

Commit 9ccf0f8

Browse files
authored
Merge pull request #494 from gaius-qi/feature/vmstat
Fix parseVMStatNUMA return wrong VMStat in nr_zone_inactive_file
2 parents 8e530b9 + 31842f6 commit 9ccf0f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sysfs/vmstat_numa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func parseVMStatNUMA(r []byte) (VMStat, error) {
145145
case "nr_zone_active_anon":
146146
vmStat.NrZoneActiveAnon = fv
147147
case "nr_zone_inactive_file":
148-
vmStat.NrZoneActiveFile = fv
148+
vmStat.NrZoneInactiveFile = fv
149149
case "nr_zone_active_file":
150150
vmStat.NrZoneActiveFile = fv
151151
case "nr_zone_unevictable":

0 commit comments

Comments
 (0)