diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2023-02-07 12:54:49 -0500 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2023-03-07 17:34:32 -0500 |
commit | 61e36af743cd0bffcac2c0759ac13d2493caec93 (patch) | |
tree | 81a8e93279bf13cd3099cff99bdecd92f170b9b0 /tests/cleaner_tests/existing_archive.py | |
parent | e8dc0e55988b36d0476bcae741652208356f0f07 (diff) | |
download | sos-61e36af743cd0bffcac2c0759ac13d2493caec93.tar.gz |
[report] Allow users to constrain sos process priority
Adds a new `--low-priority` option to report, which will attempt to
constrain the process priority for the report generation. We do this by
attempting to set ourselves to an 'idle' IO class, as well as setting
our niceness to 19 to avoid contending for CPU time.
This is also exposed via `sos collect`, however users should note that
this will not be effective until the sos-4.5.1 release.
Closes: #3127
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/cleaner_tests/existing_archive.py')
0 files changed, 0 insertions, 0 deletions