Bug 2121535

Summary: rteval: Allow users to enter short form (compressed) of cpu-lists
Product: Red Hat Enterprise Linux 8 Reporter: John Kacur <jkacur>
Component: rtevalAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact: Waylon Cude <wcude>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: bhu, qzhao, rt-maint, shichen
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rteval-3.4-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 08:12:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Kacur 2022-08-25 18:32:13 UTC
This bug was initially created as a copy of Bug #2121534

I am copying this bug because: 

This should be done in rhel-8.8 too


Description of problem:
Allow user to enter compressed cpu-lists (short form),
that is 0-4 instead of 0,1,2,3,4

For example
rteval  --loads-cpulist=2-4 --measurement-cpulist=0,9-11'

Also fix reporting 

    so if cpu3 has been turned off, then we should see the following
    
    started 3 loads on cores 2,4
    started measurement threads on cores 0,9-11
    
    and not
    started 3 loads on cores 2-4

Comment 5 errata-xmlrpc 2023-05-16 08:12:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rteval bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2737