Wednesday, August 13, 2014

Understanding Gearman :: gearadmin

gearadmin --status & htop -d 5
Now we have workers running and gearman working great. But we want to know the current status of the jobs sent.

1) We sent 5 jobs using PHP Gearman Client and using runTasks(); function
2) We started 3 workers from Terminal
3) All 3 workers start picking the jobs and left 2 in queue

gearadmin -- status will show as following :

  • Function Name
  • Number in queue
  • Number of jobs running
  • Number of capable workers

No comments:

Post a Comment