Skip to content

Instantly share code, notes, and snippets.

@harrylove
Created May 3, 2011 20:42
Show Gist options
  • Save harrylove/954190 to your computer and use it in GitHub Desktop.
Save harrylove/954190 to your computer and use it in GitHub Desktop.
List all Resque workers and Resque pool manager on Solaris
$ pgrep resque | xargs pargs -a
26760: /opt/local/ree/bin/ruby /opt/local/ree/bin/resque-pool --daemon --environment s
argv[0]: resque-1.15.0: Waiting for mailer
argv[1]:
argv[2]:
argv[3]:
argv[4]:
26975: /opt/local/ree/bin/ruby /opt/local/ree/bin/resque-pool --daemon --environment s
argv[0]: resque-1.15.0: Waiting for mailer
argv[1]:
argv[2]:
argv[3]:
argv[4]:
27678: /opt/local/ree/bin/ruby /opt/local/ree/bin/resque-pool --daemon --environment s
argv[0]: resque-1.15.0: Waiting for acquisitions
argv[1]:
argv[2]:
argv[3]:
argv[4]:
19864: /opt/local/ree/bin/ruby /opt/local/ree/bin/resque-pool --daemon --environment s
argv[0]: resque-pool-master: managing [27678, 26760, 26975]
argv[1]:
argv[2]:
argv[3]:
argv[4]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment