I do this in python in this code https://github.com/martyzz1/heroku_proc_scalar_app/blob/master/worker.py
def get_current_dynos(heroku_app, procname): try: web_proc = heroku_app.processes[procname] except KeyError: return 0 else: cpt = 0 for proc in web_proc: print "%s is %s" % (proc, proc.state) cpt += 1 return cpt proc.state should give you up, starting, crashed Regards Marty On 7 January 2013 19:03, geemus <wes...@heroku.com> wrote: > Interesting. You might also be able to figure out state by looking at > router related logs even when it wasn't yet being routed to. I haven't > tried doing this myself, but might get you what you are after. > > > On Wednesday, December 26, 2012 7:44:36 AM UTC-8, Andrew Lorente wrote: >> >> Hi, >> >> I'm writing a commandline client that consumes a web api that currently >> lives in a single web dyno. I'd like the client to be able to tell the user >> "hey the dyno is starting up; it'll be a second." Short of having the >> heroku credentials and asking heroku directly, is there any way to get that >> information? >> >> Andrew >> > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en_US?hl=en > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en