XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Host CPU Statistics

    Development
    2
    3
    106
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JSylvia007
      JSylvia007 last edited by

      Is there a way to get this information from xl, or xe, or some other command line parameter?

      Screenshot 2023-01-17 170447.png

      1 Reply Last reply Reply Quote 0
      • S
        splastunov last edited by

        You can get it with such command

        xentop  --vcpus -i 2 -b | grep -i "Domain-0"
        

        Skip first line because it always return 0.

        Or you can use method that using XO.
        Get host_rrd data from host and parse it
        https://xapi-project.github.io/xen-api/metrics.html

        JSylvia007 1 Reply Last reply Reply Quote 0
        • JSylvia007
          JSylvia007 @splastunov last edited by

          @splastunov said in Host CPU Statistics:

          You can get it with such command

          That command doesn't give me the aggregate, it only gives me the CPU for Dom0. I'd like to get that aggregate number.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post