Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1487538 Details for
Bug 1633367
[abrt] pcp-system-tools: syntax(): invalid syntax (pmiostat, line 208)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Resolve await namespace conflict
pcp-iostat-await.patch (text/plain), 3.84 KB, created by
Nathan Scott
on 2018-09-27 00:21:41 UTC
(
hide
)
Description:
Resolve await namespace conflict
Filename:
MIME Type:
Creator:
Nathan Scott
Created:
2018-09-27 00:21:41 UTC
Size:
3.84 KB
patch
obsolete
>diff --git a/src/pcp/iostat/pcp-iostat.py b/src/pcp/iostat/pcp-iostat.py >index bc716c276..46e4fa495 100755 >--- a/src/pcp/iostat/pcp-iostat.py >+++ b/src/pcp/iostat/pcp-iostat.py >@@ -205,7 +205,7 @@ class IostatReport(pmcc.MetricGroupPrinter): > # total active time in seconds (same units as dt) > tot_active = (float)(c_avactive[inst] - p_avactive[inst]) / 1000.0 > >- avgrqsz = avgqsz = await = r_await = w_await = util = 0.0 >+ avgrqsz = avgqsz = t_await = r_await = w_await = util = 0.0 > > # average request size units are KB (sysstat reports in units of sectors) > if tot_ios: >@@ -216,7 +216,7 @@ class IostatReport(pmcc.MetricGroupPrinter): > > # await, r_await, w_await > if tot_ios: >- await = ((c_ractive[inst] - p_ractive[inst]) + (c_wactive[inst] - p_wactive[inst])) / tot_ios >+ t_await = ((c_ractive[inst] - p_ractive[inst]) + (c_wactive[inst] - p_wactive[inst])) / tot_ios > > if tot_rios: > r_await = (c_ractive[inst] - p_ractive[inst]) / tot_rios >@@ -229,7 +229,7 @@ class IostatReport(pmcc.MetricGroupPrinter): > util = 100.0 * tot_active / dt > > device = inst # prepare name for printing >- badcounters = rrqm < 0 or wrqm < 0 or r < 0 or w < 0 or await < 0 or avgrqsz < 0 or avgqsz < 0 or util < 0 >+ badcounters = rrqm < 0 or wrqm < 0 or r < 0 or w < 0 or t_await < 0 or avgrqsz < 0 or avgqsz < 0 or util < 0 > > if "t" in IostatOptions.xflag: > if badcounters: >@@ -250,7 +250,7 @@ class IostatReport(pmcc.MetricGroupPrinter): > if not IostatOptions.Gflag: > print(valfmt % (timestamp, device,rrqmspace, precision, rrqm,wrqmspace,precision, wrqm,precision+5,precision,\ > r,precision+4,precision, w,precision+6,precision, rkb,precision+6,precision, wkb, avgrqszspace,precision+1 ,avgrqsz,\ >- avgrqszspace,precision+1, avgqsz,precision+5,precision, await,awaitspace,precision, r_await,awaitspace,precision,\ >+ avgrqszspace,precision+1, avgqsz,precision+5,precision, t_await,awaitspace,precision, r_await,awaitspace,precision,\ > w_await,utilspace,precision, util)) > else: > if badcounters: >@@ -270,7 +270,7 @@ class IostatReport(pmcc.MetricGroupPrinter): > if not IostatOptions.Gflag: > print(valfmt % (device,rrqmspace, precision, rrqm,wrqmspace,precision, wrqm,precision+5,precision, r,precision+4,\ > precision, w,precision+6,precision, rkb,precision+6,precision, wkb,\ >- avgrqszspace,precision+1 ,avgrqsz,avgrqszspace,precision+1, avgqsz,precision+5,precision, await,awaitspace,precision,\ >+ avgrqszspace,precision+1 ,avgrqsz,avgrqszspace,precision+1, avgqsz,precision+5,precision, t_await,awaitspace,precision,\ > r_await,awaitspace,precision, w_await,utilspace,precision, util)) > > if IostatOptions.Gflag and not badcounters: >@@ -282,7 +282,7 @@ class IostatReport(pmcc.MetricGroupPrinter): > aggr_wkb = aggregate(aggr, aggr_wkb, wkb) > aggr_avgrqsz = aggregate(aggr, aggr_avgrqsz, avgrqsz) > aggr_avgqsz = aggregate(aggr, aggr_avgqsz, avgqsz) >- aggr_await = aggregate(aggr, aggr_await, await) >+ aggr_await = aggregate(aggr, aggr_await, t_await) > aggr_r_await = aggregate(aggr, aggr_r_await, r_await) > aggr_w_await = aggregate(aggr, aggr_w_await, w_await) > aggr_util = aggregate(aggr, aggr_util, util)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1633367
:
1487448
|
1487449
|
1487450
|
1487451
|
1487452
|
1487453
|
1487454
| 1487538