You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When no swap file is used nor installed, bash/awk gives
awk: cmd. line:1: (FILENAME=- FNR=1) fatal: division by zero attempted
I've fixed it by manually commenting out the relevant lines and instead set the variables to zero; $Swap, $SwapFree and $SwapSize around row 320
I am not very proficient in bash but from a general programming aspect I am thinking it will be quite easy to fix for example by skipping the relevant equations if both swap size and swap free are equal to or below 0
Sincerely
Z
The text was updated successfully, but these errors were encountered:
When no swap file is used nor installed, bash/awk gives
awk: cmd. line:1: (FILENAME=- FNR=1) fatal: division by zero attempted
I've fixed it by manually commenting out the relevant lines and instead set the variables to zero; $Swap, $SwapFree and $SwapSize around row 320
I am not very proficient in bash but from a general programming aspect I am thinking it will be quite easy to fix for example by skipping the relevant equations if both swap size and swap free are equal to or below 0
Sincerely
Z
The text was updated successfully, but these errors were encountered: