Bug 2121534

Summary: rteval: Allow users to enter short form (compressed) of cpu-lists
Product: Red Hat Enterprise Linux 9 Reporter: John Kacur <jkacur>
Component: rtevalAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact: Waylon Cude <wcude>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: bhu, qzhao, rt-maint, shichen
Target Milestone: rcKeywords: Triaged
Target Release: 9.2Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rteval-3.4-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:18:14 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:
Bug Depends On:    
Bug Blocks: 2119171    

Description John Kacur 2022-08-25 18:30:50 UTC
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-09 07:18:14 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:2149