-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix getting output from
sar -A
, moving sar to "system-load"
When the human-readable output of `sar -A` was added in April to xenserver-logs, the timeout for this command was not defined. The senserver-logs capability uses the default timeout of -1 which is racey for commands as they are immediately stopped due to the timout running out unless the are very very brief. To fix this, it was suggested that sar (a system load report) could be moved to a new capability. Also, it should be noted that sar records are binary system load records, not xenserver-specific log files. Therefore, create a new capability (system_load), repsonsible for collecting the the sar data files (and the humand-readable of output of `sar -A`) with a timeout of 30 seconds and a max_size of 70 MB. Signed-off-by: Bernhard Kaindl <[email protected]>
- Loading branch information
1 parent
5013b05
commit 5b67263
Showing
2 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters