Skip to content

vm cpu util in kvmtop unequal top inside vm #33

@MyungChi

Description

@MyungChi

Hi.

I reinstall kvmtop latest release(2.1.3) in my system.
Total number of CPU is fixed.

But, There are issue usage of CPU usage of VM is not collect.
As you see below, VM name "vedge" is shown "52%" CPU usage.

So, I checked with top after login vedge VM. CPU usage is less than 1%.

kvmtop --cpu --mem

cpu                ram
cores    88        Total    19763962
curfreq  0.000000  Free     2562432
                   Availabl 11867460

                  cpu               ram
UUID     name     cores total steal total    used
256fc986 vedge    4     52    0     3880072  2278276
f62468f4 pike-osc 4     12    0     8173704  7493712

top in vedge vm

=====================================================

top - 02:54:01 up 14 days,  5:45,  2 users,  load average: 0.01, 0.03, 0.05
Tasks: 141 total,   2 running, 139 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.1 us,  0.1 sy,  0.0 ni, 99.2 id,  0.0 wa,  0.0 hi,  0.0 si,  0.6 st
KiB Mem :  3880072 total,  1599800 free,  1643624 used,   636648 buff/cache
KiB Swap:        0 total,        0 free,        0 used.  1960016 avail Mem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions