RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1564440 - RFE: Virt-top in stream mode doesn't obey mode flags (-1, -2, -3).
Summary: RFE: Virt-top in stream mode doesn't obey mode flags (-1, -2, -3).
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-top
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-06 09:52 UTC by Marian Galiovsky
Modified: 2019-05-13 09:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-13 09:49:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marian Galiovsky 2018-04-06 09:52:31 UTC
Description of problem:
It's not possible to configure virt-top in stream mode by command line or .virt-toprc file to display RXPK and TXPK statistics.

This is very useful to monitor the performance of the VMs as the packet throughput is more relevant load factor than byte count. 

Version-Release number of selected component (if applicable):
virt-top 1.0.8 ocaml-libvirt 0.6.1.2

How reproducible:
Run virt-top with --stream option.

Steps to Reproduce:
1.virt-top -n 2 --stream

Actual results:
virt-top time  09:22:17 Host svr_1 x86_64 56/56CPU 2899MHz 130960MB
   ID S RDRQ WRRQ RXBY TXBY %CPU %MEM   TIME    NAME
    1 R    0    0    0    0  0.0  0.0   8:24.04 OAM-A
virt-top time  09:22:20 Host svr_1 x86_64 56/56CPU 2899MHz 130960MB
   ID S RDRQ WRRQ RXBY TXBY %CPU %MEM   TIME    NAME
    1 R    1    0 176K  36K  0.1 12.0   8:24.28 OAM-A

Expected results:
virt-top time  09:22:17 Host svr_1 x86_64 56/56CPU 2899MHz 130960MB
   ID S RDRQ WRRQ RXBY TXBY RXPK TXPK %CPU %MEM   TIME    NAME
    1 R    0    0    0    0    0    0  0.0  0.0   8:24.04 OAM-A
virt-top time  09:22:20 Host svr_1 x86_64 56/56CPU 2899MHz 130960MB
   ID S RDRQ WRRQ RXBY TXBY RXPK TXPK %CPU %MEM   TIME    NAME
    1 R    1    0 176K  36K  370  201  0.1 12.0   8:24.28 OAM-A

Additional info:

Comment 2 Richard W.M. Jones 2018-04-06 10:09:48 UTC
I don't believe this is an actual bug.  However ...

The bigger issue here is that --stream ignores the current mode
(ie. the -1, -2 or -3 flag, it always displays the domains).
That's what needs to be fixed and then you could use

  virt-top -2 --stream

to display full information on network devices (only).

That wouldn't be what the bug reporter requests exactly, but
the reporter could use --csv output which records everything
including RXBY and TXBY.

BTW if you are a RHEL customer, ask your support person to
attach the customer case to this bug which will enhance the
bug priority.

Comment 4 Richard W.M. Jones 2019-05-13 09:49:44 UTC
Closing this as we're not planning any further work on virt-top in RHEL 7.
If this bug still affects you please work with upstream to fix the bug there.


Note You need to log in before you can comment on or make changes to this bug.