{"action":"created","issue":{"url":"https://api.github.com/repos/ryran/valine/issues/22","repository_url":"https://api.github.com/repos/ryran/valine","labels_url":"https://api.github.com/repos/ryran/valine/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/ryran/valine/issues/22/comments","events_url":"https://api.github.com/repos/ryran/valine/issues/22/events","html_url":"https://github.com/ryran/valine/issues/22","id":135457049,"number":22,"title":"implement virt-top somehow...?","user":{"login":"ryran","id":1092618,"avatar_url":"https://avatars.githubusercontent.com/u/1092618?v=3","gravatar_id":"","url":"https://api.github.com/users/ryran","html_url":"https://github.com/ryran","followers_url":"https://api.github.com/users/ryran/followers","following_url":"https://api.github.com/users/ryran/following{/other_user}","gists_url":"https://api.github.com/users/ryran/gists{/gist_id}","starred_url":"https://api.github.com/users/ryran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryran/subscriptions","organizations_url":"https://api.github.com/users/ryran/orgs","repos_url":"https://api.github.com/users/ryran/repos","events_url":"https://api.github.com/users/ryran/events{/privacy}","received_events_url":"https://api.github.com/users/ryran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ryran/valine/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ryran/valine/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"ryran","id":1092618,"avatar_url":"https://avatars.githubusercontent.com/u/1092618?v=3","gravatar_id":"","url":"https://api.github.com/users/ryran","html_url":"https://github.com/ryran","followers_url":"https://api.github.com/users/ryran/followers","following_url":"https://api.github.com/users/ryran/following{/other_user}","gists_url":"https://api.github.com/users/ryran/gists{/gist_id}","starred_url":"https://api.github.com/users/ryran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryran/subscriptions","organizations_url":"https://api.github.com/users/ryran/orgs","repos_url":"https://api.github.com/users/ryran/repos","events_url":"https://api.github.com/users/ryran/events{/privacy}","received_events_url":"https://api.github.com/users/ryran/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ryran/valine/milestones/2","html_url":"https://github.com/ryran/valine/milestones/v0.8.0%20-%20wontless%20lutemaker","labels_url":"https://api.github.com/repos/ryran/valine/milestones/2/labels","id":1580885,"number":2,"title":"v0.8.0 - wontless lutemaker","description":"This release will herald the addition of subcommands to add disks & network interfaces, as well as to change cdrom media.","creator":{"login":"ryran","id":1092618,"avatar_url":"https://avatars.githubusercontent.com/u/1092618?v=3","gravatar_id":"","url":"https://api.github.com/users/ryran","html_url":"https://github.com/ryran","followers_url":"https://api.github.com/users/ryran/followers","following_url":"https://api.github.com/users/ryran/following{/other_user}","gists_url":"https://api.github.com/users/ryran/gists{/gist_id}","starred_url":"https://api.github.com/users/ryran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryran/subscriptions","organizations_url":"https://api.github.com/users/ryran/orgs","repos_url":"https://api.github.com/users/ryran/repos","events_url":"https://api.github.com/users/ryran/events{/privacy}","received_events_url":"https://api.github.com/users/ryran/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2016-02-13T05:35:25Z","updated_at":"2016-02-22T15:48:23Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-02-22T15:48:23Z","updated_at":"2016-02-23T17:58:43Z","closed_at":null,"body":"I literally forgot about `virt-top` ... haven't touched it in a couple years. It's too awesome not to use.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ryran/valine/issues/comments/187818645","html_url":"https://github.com/ryran/valine/issues/22#issuecomment-187818645","issue_url":"https://api.github.com/repos/ryran/valine/issues/22","id":187818645,"user":{"login":"ryran","id":1092618,"avatar_url":"https://avatars.githubusercontent.com/u/1092618?v=3","gravatar_id":"","url":"https://api.github.com/users/ryran","html_url":"https://github.com/ryran","followers_url":"https://api.github.com/users/ryran/followers","following_url":"https://api.github.com/users/ryran/following{/other_user}","gists_url":"https://api.github.com/users/ryran/gists{/gist_id}","starred_url":"https://api.github.com/users/ryran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryran/subscriptions","organizations_url":"https://api.github.com/users/ryran/orgs","repos_url":"https://api.github.com/users/ryran/repos","events_url":"https://api.github.com/users/ryran/events{/privacy}","received_events_url":"https://api.github.com/users/ryran/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T17:58:43Z","updated_at":"2016-02-23T17:58:43Z","body":"Yeah it sucks that the first update is always blank ... but at least you can do fractions of a second\r\n\r\n```\r\n$ virt-top -n 2 -d .1 --stream\r\nvirt-top time  12:55:39 Host jiop.usersys.redhat.com x86_64 8/8CPU 3700MHz 15963MB \r\n   ID S RDRQ WRRQ RXBY TXBY %CPU %MEM   TIME    NAME\r\n   16 R    0    0    0    0  0.0  0.0   9:00.02 r67\r\n   18 R    0    0    0    0  0.0  0.0 305:20.71 r511\r\n   22 R    0    0    0    0  0.0  0.0   3:08.01 r72\r\n   23 R    0    0    0    0  0.0  0.0   4:29.24 tae66\r\n   24 R    0    0    0    0  0.0  0.0   0:54.88 tae72\r\nvirt-top time  12:55:39 Host jiop.usersys.redhat.com x86_64 8/8CPU 3700MHz 15963MB \r\n   ID S RDRQ WRRQ RXBY TXBY %CPU %MEM   TIME    NAME\r\n   16 R    0    0    0    0 25.8 12.0   9:00.26 r67\r\n   18 R    0    0    0    0  0.0  3.0 305:20.71 r511\r\n   22 R    0    0    0    0 12.9  3.0   3:08.13 r72\r\n   23 R    0    0    0    0  0.0  6.0   4:29.24 tae66\r\n   24 R    0    0    0    0  0.0  6.0   0:54.88 tae72\r\n```\r\n\r\n> which vNIC is associated with which vm, on the fly with the '-2' switch.\r\n\r\nWhat do you care about that ^^ for?\r\n\r\nI think the only thing I can imagine adding to valine is %cpu, %mem, and time. So maybe I'll do:\r\n\r\n```\r\n$ virt-top -n 2 -d .1 --stream | sed '/^virt-top/,/^virt-top/d' | awk 'NR>1 {printf \"%s=(%s %s %s)\\n\", $NF, $7, $8, $9}'\r\nr67=(24.8 12.0 12:51.74)\r\nr511=(1.1 3.0 305:37.65)\r\nr72=(12.9 3.0 5:03.82)\r\ntae66=(1.1 6.0 4:29.56)\r\ntae72=(0.0 6.0 0:54.94)\r\n``\r\n\r\nThen I can check for those arrays when printing the columns."}}