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

Check dyno and dcgm existence before disable them #2496

Closed
wants to merge 3 commits into from

Conversation

FindHao
Copy link
Member

@FindHao FindHao commented Oct 8, 2024

For systems without dyno or dcgm installed and running without sudo, the ncu_rep metric will get stuck asking for a sudo password.

This PR checks the command or service existence before disabling them to avoid getting stuck.

@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@FindHao merged this pull request in dcd3d31.

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

Successfully merging this pull request may close these issues.

3 participants