Skip to content
New issue

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

Fix for non-english localizations + commands in readme file #7

Merged
merged 2 commits into from
Feb 20, 2022

Conversation

skleeschulte
Copy link
Contributor

The output of the free command is localized, so if the system locale is not English, free|awk '/^Mem:/{print $2}' will fail. I suggest to replace it with awk '/MemTotal/ {print $2}' /proc/meminfo.

Also added two minor changes to the commands in the readme file, see comparison.

Thank you for these helpful scripts!

@StuartIanNaylor StuartIanNaylor merged commit f62bb38 into StuartIanNaylor:master Feb 20, 2022
@StuartIanNaylor
Copy link
Owner

Suppose you don't want to take over as apols for the delay but rarely check nowadays.
I can transfer to you if you wish?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants