Skip to content

Commit

Permalink
Merge pull request major#780 from vlatan/physical-memory
Browse files Browse the repository at this point in the history
Fix wrong physical memory
  • Loading branch information
jmrenouard authored Jul 2, 2024
2 parents a76ec6a + 0dc9caa commit 198e0d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,6 @@ sub os_setup {
chomp($physical_memory);
chomp($swap_memory);
chomp($os);
$physical_memory=$opt{forcemem} if (defined($opt{forcemem}) and $opt{forcemem} gt 0);
$result{'OS'}{'OS Type'} = $os;
$result{'OS'}{'Physical Memory'}{'bytes'} = $physical_memory;
$result{'OS'}{'Physical Memory'}{'pretty'} = hr_bytes($physical_memory);
Expand Down

0 comments on commit 198e0d5

Please sign in to comment.