Gearman gearadmin command line tool status output meaning

余生颓废 提交于 2019-12-02 23:29:32
Mark Baker
  • Function Name
  • Number in queue
  • Number of jobs running
  • Number of capable workers

https://preilly.me/monitoring-gearman-over-telnet-port-4730/

Since this is the only question related to output of command gearadmin --status, allow me to share a quick tip for pretty printing the output of this command.

gearadmin  --status | sort -n | column -t

This becomes useful when you have a lot of different workers and their relative counts matter. I always have one tab of my terminal where I run the following command to watch queue length and worker count go up and down in realtime. Well, realtime enough.

watch "gearadmin  --status | sort -n | column -t"
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!