Skip to content

Question for faster execution: Seeing cpu_info add 10 secs to execution #141

@jebbaxley

Description

@jebbaxley

Strangely when I add this cpu_info check the script takes 10 sec. longer to execute.

  • || check_hw_cpuinfo 2 128 255

am I adding this incorrectly? Also, how can I be sure the nhc is running the checks in parrallel for faster execution? attempting to minimize health checking.

time with:
real 0m11.548s
user 0m0.246s
sys 0m10.159s

time without:
real 0m0.119s
user 0m0.062s
sys 0m0.018s

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions