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

All CPU and MEM values shown as 0.0 in some locales #47

Open
yarkm13 opened this issue Feb 9, 2025 · 0 comments
Open

All CPU and MEM values shown as 0.0 in some locales #47

yarkm13 opened this issue Feb 9, 2025 · 0 comments

Comments

@yarkm13
Copy link

yarkm13 commented Feb 9, 2025

It seems that the ps command respects locale settings and uses different decimal separators depending on the locale. For example, the Ukrainian (uk) locale uses a comma as the decimal separator instead of a period so CPU and MEM usage numbers are shown as 12,4 instead of 12.4

Created pull request with a fix: #48

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 a pull request may close this issue.

1 participant