Giter Site home page Giter Site logo

xentools's Introduction

gxentop

Push VM statistics, cpu, disk and net from xentop to carbon either direct or by means of collectd, supports xapi and xm.

Examples in the .png:

  • To net TX/RX: this is a routerVM controlled by cloudstack, and doing moderate network load.
  • Top Read IO shows us the most misbehaving VM in our cloud; it seems that the VM from account id 9 with vm_instance id 1452 is the most misbehaving VM which is hammering the shared storage underneath, and it is doing this via a disk known to Xen with id 5632.

This Xen ID can be used to get the specific disk ID with the xenstore-ls and xl commands:

    # xenstore-ls `xl block-list i-9-1452-VM | awk '{ print $7 }' | grep 5632`
    frontend = "/local/domain/386/device/vbd/5632"
    online = "1"
    sm-data = ""
     storage-type = "nfs"
     scsi = ""
      0x12 = ""
       0x83 = "AIMAMQIBAC1YRU5TUkMgIDJkNjZhYTVmLTNmNmMtNDQ0Zi04MzI3LTJjOWU1NGVjMmIxNyA="
       0x80 = "AIAAEjJkNjZhYTVmLTNmNmMtNDQgIA=="
     vdi-uuid = "2d66aa5f-3f6c-444f-8327-2c9e54ec2b17"
     mem-pool = "a119270f-6fac-7b22-84a5-44816ff20dc6"
    params = "/dev/sm/backend/a119270f-6fac-7b22-84a5-44816ff20dc6/2d66aa5f-3f6c-444f-8327-2c9e54ec2b17"
    state = "4"
    dev = "hdc"
    physical-device = "fd:c"
    removable = "1"
    mode = "w"
    frontend-id = "386"
    type = "phy"
    max-ring-page-order = "0"
    hotplug-status = "connected"
    feature-barrier = "1"
    sectors = "524288000"
    info = "0"
    sector-size = "512"
    kthread-pid = "32742"
    [root@mccpvm24 ~]# 

xentools's People

Contributors

lttmtins avatar snuf avatar fborn avatar

Stargazers

Jon Ludlam avatar

Watchers

James Cloos avatar  avatar

Forkers

winterstat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.