{"action":"created","issue":{"url":"https://api.github.com/repos/Yelp/paasta/issues/340","repository_url":"https://api.github.com/repos/Yelp/paasta","labels_url":"https://api.github.com/repos/Yelp/paasta/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/paasta/issues/340/comments","events_url":"https://api.github.com/repos/Yelp/paasta/issues/340/events","html_url":"https://github.com/Yelp/paasta/pull/340","id":141741758,"number":340,"title":"Make -vv output consistent with -vvv output, humanize figures","user":{"login":"nosmo","id":68673,"avatar_url":"https://avatars.githubusercontent.com/u/68673?v=3","gravatar_id":"","url":"https://api.github.com/users/nosmo","html_url":"https://github.com/nosmo","followers_url":"https://api.github.com/users/nosmo/followers","following_url":"https://api.github.com/users/nosmo/following{/other_user}","gists_url":"https://api.github.com/users/nosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/nosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosmo/subscriptions","organizations_url":"https://api.github.com/users/nosmo/orgs","repos_url":"https://api.github.com/users/nosmo/repos","events_url":"https://api.github.com/users/nosmo/events{/privacy}","received_events_url":"https://api.github.com/users/nosmo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yelp/paasta/labels/in%20review","name":"in review","color":"eac04b"}],"state":"open","locked":false,"assignee":{"login":"nosmo","id":68673,"avatar_url":"https://avatars.githubusercontent.com/u/68673?v=3","gravatar_id":"","url":"https://api.github.com/users/nosmo","html_url":"https://github.com/nosmo","followers_url":"https://api.github.com/users/nosmo/followers","following_url":"https://api.github.com/users/nosmo/following{/other_user}","gists_url":"https://api.github.com/users/nosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/nosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosmo/subscriptions","organizations_url":"https://api.github.com/users/nosmo/orgs","repos_url":"https://api.github.com/users/nosmo/repos","events_url":"https://api.github.com/users/nosmo/events{/privacy}","received_events_url":"https://api.github.com/users/nosmo/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-03-18T00:22:42Z","updated_at":"2016-03-18T19:43:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Yelp/paasta/pulls/340","html_url":"https://github.com/Yelp/paasta/pull/340","diff_url":"https://github.com/Yelp/paasta/pull/340.diff","patch_url":"https://github.com/Yelp/paasta/pull/340.patch"},"body":"Currently the outputs of ```paasta metastatus -vv``` and ```paasta metastatus -vvv``` are quite inconsistent. \r\n```paasta metastatus -vv``` will return: \r\n```\r\n  Hostname             CPU free  RAM free  Disk free\r\n    test3.somewhere.www  22.00     920.00    200.00\r\n    test.somewhere.www   25.00     0.00      150.00\r\n    test2.somewhere.www  500.00    750.00    200.00\r\n```\r\nWhile ```paasta metastatus -vvv``` will return: \r\n```\r\n  Habitat                 CPU (free/total)  RAM (free/total)  Disk (free/total)\r\n    somenametest-habitat-2  522.00/522.00     1670.00/1670.00   400.00/400.00\r\n    somenametest-habitat    25.00/75.00       0.00/100.00       150.00/250.00\r\n```\r\n\r\nThis PR brings the two output formats somewhat into cohesion and also uses ```humanize``` to make the outputs a little more friendly to users: \r\n\r\n```paasta metastatus -vv```:\r\n```\r\n  Hostname             CPU (free/total)  RAM (free/total)  Disk (free/total)\r\n    test3.somewhere.www  22.00/22.00       920.0M/920.0M     200.0M/200.0M\r\n    test.somewhere.www   25.00/75.00       0B/100.0M         150.0M/250.0M\r\n    test2.somewhere.www  500.00/500.00     750.0M/750.0M     200.0M/200.0M\r\n```\r\n```paasta metastatus -vvv```:\r\n```\r\n  Habitat                 CPU (free/total)  RAM (free/total)  Disk (free/total)\r\n    somenametest-habitat-2  522.00/522.00     1.6G/1.6G         400.0M/400.0M\r\n    somenametest-habitat    25.00/75.00       0B/100.0M         150.0M/250.0M\r\n```"},"comment":{"url":"https://api.github.com/repos/Yelp/paasta/issues/comments/198514651","html_url":"https://github.com/Yelp/paasta/pull/340#issuecomment-198514651","issue_url":"https://api.github.com/repos/Yelp/paasta/issues/340","id":198514651,"user":{"login":"nosmo","id":68673,"avatar_url":"https://avatars.githubusercontent.com/u/68673?v=3","gravatar_id":"","url":"https://api.github.com/users/nosmo","html_url":"https://github.com/nosmo","followers_url":"https://api.github.com/users/nosmo/followers","following_url":"https://api.github.com/users/nosmo/following{/other_user}","gists_url":"https://api.github.com/users/nosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/nosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosmo/subscriptions","organizations_url":"https://api.github.com/users/nosmo/orgs","repos_url":"https://api.github.com/users/nosmo/repos","events_url":"https://api.github.com/users/nosmo/events{/privacy}","received_events_url":"https://api.github.com/users/nosmo/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T19:43:52Z","updated_at":"2016-03-18T19:43:52Z","body":"Added tests, made -h required to get humanised output. Added `format_options` to  `run_healthchecks_with_param` to allow for future expansion and/or cut down on passing lots of parameters. "}}