Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[processor] Add a timeout to turbostat collection
The `turbostat` command has been seen to hit the default 5-minute timeout for reasons that are not immedately obvious. The behavior pattern is that the `turbostat --debug sleep 10` command this plugin captures may not exit until some form of input is received, at which point the command "fails successfully" with the following message: `turbostat: get_rapl_counters: failed to read perf_data (8 1): Success` Prevent this condition from holding up sos report execution by adding a timeout to this collection. Resolves: sosreport#3753 Signed-off-by: Jake Hunsaker <[email protected]>
- Loading branch information