File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ public function systemResourcesAction()
173173 $ fc = $ mem ['vm.stats.vm.v_free_count ' ];
174174 $ result ['memory ' ]['total ' ] = $ mem ['hw.physmem ' ];
175175 $ result ['memory ' ]['total_frmt ' ] = sprintf ('%d ' , $ mem ['hw.physmem ' ] / 1024 / 1024 );
176- $ result ['memory ' ]['used ' ] = round (((($ pc - ($ ic + $ cc + $ fc ))) / $ pc ) * $ mem ['hw.physmem ' ], 0 );
176+ $ result ['memory ' ]['used ' ] = round (((($ pc - ($ cc + $ fc ))) / $ pc ) * $ mem ['hw.physmem ' ], 0 );
177177 $ result ['memory ' ]['used_frmt ' ] = sprintf ('%d ' , $ result ['memory ' ]['used ' ] / 1024 / 1024 );
178178 if (!empty ($ mem ['kstat.zfs.misc.arcstats.size ' ])) {
179179 $ arc_size = $ mem ['kstat.zfs.misc.arcstats.size ' ];
You can’t perform that action at this time.
0 commit comments