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

top_cpu not working if language not english #10

Open
dflvunoooooo opened this issue Jul 2, 2023 · 2 comments
Open

top_cpu not working if language not english #10

dflvunoooooo opened this issue Jul 2, 2023 · 2 comments

Comments

@dflvunoooooo
Copy link

The top_cpu sensor does not work if the language is not set to english. The command_ind returns empty because COMMAND is not found. In my case it is called BEFEHL.

@roger-
Copy link
Owner

roger- commented Jul 2, 2023

Hmm not sure how to handle this. IIRC different systems are not consistent in the ordering of the top output hence the need to find the column index.

I’d rather not have to have special cases for each language.

Think you might need to handle this with your custom translation until we can figure out a better approach.

@dflvunoooooo
Copy link
Author

Yeah, the only way I can think of is a gigantic loop for every language, where it is named differently.

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

No branches or pull requests

2 participants