{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5976","labels_url":"https://api.github.com/repos/appium/appium/issues/5976/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5976/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5976/events","html_url":"https://github.com/appium/appium/issues/5976","id":125031341,"number":5976,"title":"Detect busy device","user":{"login":"minimedj","id":3855032,"avatar_url":"https://avatars.githubusercontent.com/u/3855032?v=3","gravatar_id":"","url":"https://api.github.com/users/minimedj","html_url":"https://github.com/minimedj","followers_url":"https://api.github.com/users/minimedj/followers","following_url":"https://api.github.com/users/minimedj/following{/other_user}","gists_url":"https://api.github.com/users/minimedj/gists{/gist_id}","starred_url":"https://api.github.com/users/minimedj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minimedj/subscriptions","organizations_url":"https://api.github.com/users/minimedj/orgs","repos_url":"https://api.github.com/users/minimedj/repos","events_url":"https://api.github.com/users/minimedj/events{/privacy}","received_events_url":"https://api.github.com/users/minimedj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-05T19:15:00Z","updated_at":"2016-01-16T08:04:19Z","closed_at":"2016-01-16T07:42:44Z","body":"Hi guys, I have multiple appium instances running. Each instance has only one real device connected.\r\n\r\nIs there a way to know that certain appium instance/device is busy (has active session)?\r\n\r\np.s. Would be great if I can request appium instance for number of active sessions and if it has any (I expect only 1 in my case) - it is clear sign for me that appium instance/device is busy."},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/172170779","html_url":"https://github.com/appium/appium/issues/5976#issuecomment-172170779","issue_url":"https://api.github.com/repos/appium/appium/issues/5976","id":172170779,"user":{"login":"saikrishna321","id":4045041,"avatar_url":"https://avatars.githubusercontent.com/u/4045041?v=3","gravatar_id":"","url":"https://api.github.com/users/saikrishna321","html_url":"https://github.com/saikrishna321","followers_url":"https://api.github.com/users/saikrishna321/followers","following_url":"https://api.github.com/users/saikrishna321/following{/other_user}","gists_url":"https://api.github.com/users/saikrishna321/gists{/gist_id}","starred_url":"https://api.github.com/users/saikrishna321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saikrishna321/subscriptions","organizations_url":"https://api.github.com/users/saikrishna321/orgs","repos_url":"https://api.github.com/users/saikrishna321/repos","events_url":"https://api.github.com/users/saikrishna321/events{/privacy}","received_events_url":"https://api.github.com/users/saikrishna321/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T08:04:19Z","updated_at":"2016-01-16T08:04:19Z","body":"@minimedj how did u get this done ? can you pls post your code snippet or more info pls\r\n"}}