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

filter cpuinfo #2677

Closed
fragfutter opened this issue Feb 6, 2024 · 3 comments
Closed

filter cpuinfo #2677

fragfutter opened this issue Feb 6, 2024 · 3 comments
Labels
enhancement New feature or enhancement

Comments

@fragfutter
Copy link

Use Case

for each cpu core a fact with cpu information is generated. On systems with a high cpu count (for example AMD epyc with 128 cores) a lot of facts are generated. (more then 16k facts)

Describe the Solution You Would Like

have the possibility filter all cpuinfoinformation except cpuinfo.0

Describe Alternatives You've Considered

blocklist cpuinfo will block all information. having the flags of the first core provides enough information for most use cases.

@fragfutter fragfutter added the enhancement New feature or enhancement label Feb 6, 2024
@joshcooper
Copy link
Contributor

Hi @fragfutter facter can block an entire fact like processors, but not specific values within the processors fact. We're tracking that capability in #2658 though you're use case has been mentioned yet (the ability to exclude everything except cpuinfo.0. I'll add a note on that issue and close this one.

@joshcooper
Copy link
Contributor

@fragfutter could you let us know where the cpuinfo facts are coming from? It's not part of core facter.

@fragfutter
Copy link
Author

ohhh. That is really embarrassing. It's my very own fact which i wrote about 15 years ago.

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

No branches or pull requests

2 participants