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

Fix detection of CPU cores in Analysisd and Syscollector #2304

Merged
merged 1 commit into from Jan 11, 2019
Merged

Conversation

vikman90
Copy link
Member

The format of /proc/cpuinfo may differ among Linux versions.
The old implementation was not compatible with Raspbian.

@vikman90 vikman90 added the type/bug Something isn't working label Jan 10, 2019
@vikman90 vikman90 added this to Needs review in Wazuh 3.8.0 via automation Jan 10, 2019
@vikman90 vikman90 force-pushed the 3.8-nproc branch 3 times, most recently from 7ca06f1 to e11b173 Compare January 10, 2019 15:41
@vikman90 vikman90 changed the title Fix detection of CPU cores in Analysisd. Fix detection of CPU cores in Analysisd and Syscollector Jan 10, 2019
The format of /proc/cpuinfo may differ among Linux versions.
The old implementation was not compatible with Raspbian.
Copy link
Contributor

@TJOSERAFAEL TJOSERAFAEL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @vikman90!

@vikman90 vikman90 merged commit 73636e8 into 3.8 Jan 11, 2019
Wazuh 3.8.0 automation moved this from Needs review to Done Jan 11, 2019
@vikman90 vikman90 deleted the 3.8-nproc branch January 11, 2019 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working type/test
Projects
No open projects
Wazuh 3.8.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants