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

Add cpu_affinity to get_nodes output #43

Open
dopheide-esnet opened this issue Aug 23, 2024 · 0 comments
Open

Add cpu_affinity to get_nodes output #43

dopheide-esnet opened this issue Aug 23, 2024 · 0 comments

Comments

@dopheide-esnet
Copy link
Contributor

Potential Enhancement

After testing that setting cpu_affinity in the config now works (yay!) I think it would be useful for zeek-client to report that information in 'get-nodes' output. The downside would be potentially requiring the 'psutil' python library and I'm not sure if you want to do that.

import psutil
process = psutil.Process(p.pid)
affinity = process.cpu_affinity()

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

1 participant