How to know the number of active threads in Puma

前端 未结 6 1932
太阳男子
太阳男子 2021-02-19 03:59

I am trying to see the number of active puma threads on my server.

I can not see it through ps:

$ ps aux | grep puma
healthd   2623  0.0  1.         


        
6条回答
  •  天涯浪人
    2021-02-19 04:58

    ps aux | grep puma will give you list of process for only puma. You need to find out , how many threads are running by the particular Process. May be this will help you:

    ps -T -p 2623

    You need to provide process id, for which you want to find out number of threads. Make sure you are providing accurate process id.

提交回复
热议问题