{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/pai/issues/1903","repository_url":"https://api.github.com/repos/Microsoft/pai","labels_url":"https://api.github.com/repos/Microsoft/pai/issues/1903/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pai/issues/1903/comments","events_url":"https://api.github.com/repos/Microsoft/pai/issues/1903/events","html_url":"https://github.com/Microsoft/pai/issues/1903","id":392075707,"node_id":"MDU6SXNzdWUzOTIwNzU3MDc=","number":1903,"title":"How to get the resource left on each worker?","user":{"login":"shawntian90","id":1191121,"node_id":"MDQ6VXNlcjExOTExMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/1191121?v=4","gravatar_id":"","url":"https://api.github.com/users/shawntian90","html_url":"https://github.com/shawntian90","followers_url":"https://api.github.com/users/shawntian90/followers","following_url":"https://api.github.com/users/shawntian90/following{/other_user}","gists_url":"https://api.github.com/users/shawntian90/gists{/gist_id}","starred_url":"https://api.github.com/users/shawntian90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawntian90/subscriptions","organizations_url":"https://api.github.com/users/shawntian90/orgs","repos_url":"https://api.github.com/users/shawntian90/repos","events_url":"https://api.github.com/users/shawntian90/events{/privacy}","received_events_url":"https://api.github.com/users/shawntian90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T09:53:23Z","updated_at":"2018-12-19T05:17:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"hi,\r\n\r\nThe worker's hardware resource usually allocated to many different job instances. The count of left GPU on worker node is easy to know but CPU and RAM may be difficult.\r\n\r\nAnd I want to know left resource on each worker and get the maximum utilization of the limited resource.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Microsoft/pai/issues/comments/448472491","html_url":"https://github.com/Microsoft/pai/issues/1903#issuecomment-448472491","issue_url":"https://api.github.com/repos/Microsoft/pai/issues/1903","id":448472491,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODQ3MjQ5MQ==","user":{"login":"mzmssg","id":11887940,"node_id":"MDQ6VXNlcjExODg3OTQw","avatar_url":"https://avatars3.githubusercontent.com/u/11887940?v=4","gravatar_id":"","url":"https://api.github.com/users/mzmssg","html_url":"https://github.com/mzmssg","followers_url":"https://api.github.com/users/mzmssg/followers","following_url":"https://api.github.com/users/mzmssg/following{/other_user}","gists_url":"https://api.github.com/users/mzmssg/gists{/gist_id}","starred_url":"https://api.github.com/users/mzmssg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzmssg/subscriptions","organizations_url":"https://api.github.com/users/mzmssg/orgs","repos_url":"https://api.github.com/users/mzmssg/repos","events_url":"https://api.github.com/users/mzmssg/events{/privacy}","received_events_url":"https://api.github.com/users/mzmssg/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T05:17:23Z","updated_at":"2018-12-19T05:17:23Z","author_association":"MEMBER","body":"I think we can use **allocated resource** and **utilized resource** instead. The former means the resource has been assigned to some job, but mayn't yet be used. the latter means the resource is in real using. So what's your definition of *left resource*?"}}
{"actor":{"display_login":"mzmssg"}}