We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In memScale.sh the line top -l 1 | awk '/Phys/{gsub(/[a-zA-Z]/,""); printf "%.0f", ($10/($8+$10))*100}' Returns PhysMem: 2410M wired, 2986M active, 190M inactive, 5586M used, 11G free.
top -l 1 | awk '/Phys/{gsub(/[a-zA-Z]/,""); printf "%.0f", ($10/($8+$10))*100}'
PhysMem: 2410M wired, 2986M active, 190M inactive, 5586M used, 11G free.
And the script parses that 11G free incorrectly resulting in this scale
11G free
100% __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ mem
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In memScale.sh the line
top -l 1 | awk '/Phys/{gsub(/[a-zA-Z]/,""); printf "%.0f", ($10/($8+$10))*100}'
Returns
PhysMem: 2410M wired, 2986M active, 190M inactive, 5586M used, 11G free.
And the script parses that
11G free
incorrectly resulting in this scale100%
__
__
__
__
__
__
__
__
__
__
__
__
__
__
__
__
__
__
__
mem
The text was updated successfully, but these errors were encountered: