The php CLI command to check the threads status is:
Run the next command in SSH:
- Code: Select all
php /path/to/interspire/admin/addons/multithread/api/cli.php --status
You will receive some output like:
- Code: Select all
INFO[CLI]: [SYSTEM STATUS]
INFO[Status]: Array
(
[3084] => Array
(
[threads] => Array
(
[0] => 4402[ACTIVE][1s][500/40000]2%
[1] => 4403[ACTIVE][1s][500/40000]2%
[2] => 4404[ACTIVE][3s][500/40000]2%
[3] => 4405[ACTIVE][1s][500/36667]2%
[4] => 4406[ACTIVE][1s][500/30000]2%
[5] => 4407[ACTIVE][1s][500/30000]2%
[6] => 4408[ACTIVE][2s][500/30000]2%
[7] => 4409[ACTIVE][4s][500/30000]2%
[8] => 4410[ACTIVE][2s][500/30000]2%
[9] => 4411[ACTIVE][4s][500/30000]2%
[10] => 4412[ACTIVE][3s][500/30000]2%
[11] => 4413[ACTIVE][1s][500/30000]2%
[12] => 4414[ACTIVE][2s][500/30000]2%
[13] => 4415[ACTIVE][1s][500/30000]2%
[14] => 4416[ACTIVE][1s][500/30000]2%
[15] => 4417[ACTIVE][1s][500/30000]2%
[16] => 4418[ACTIVE][1s][500/30000]2%
[17] => 4419[ACTIVE][1s][500/30000]2%
[18] => 4420[ACTIVE][4s][500/30000]2%
[19] => 4421[ACTIVE][4s][500/30000]2%
[20] => 4422[ACTIVE][4s][500/30000]2%
)
)
[3085] => Array
(
[threads] => Array
(
[0] => 4423[ACTIVE][3s][500/50000]1%
[1] => 4424[ACTIVE][4s][500/50000]1%
[2] => 4425[ACTIVE][2s][500/46667]2%
[3] => 4426[ACTIVE][3s][500/40000]2%
[4] => 4427[ACTIVE][3s][500/40000]2%
[5] => 4428[ACTIVE][3s][500/40000]2%
[6] => 4429[ACTIVE][4s][500/40000]2%
[7] => 4430[ACTIVE][1s][500/40000]2%
[8] => 4431[ACTIVE][3s][500/40000]2%
[9] => 4432[ACTIVE][4s][500/40000]2%
[10] => 4433[ACTIVE][1s][500/40000]2%
[11] => 4434[ACTIVE][5s][500/40000]2%
[12] => 4435[ACTIVE][4s][500/40000]2%
[13] => 4436[ACTIVE][6s][500/40000]2%
[14] => 4437[ACTIVE][1s][500/40000]2%
[15] => 4438[ACTIVE][2s][500/40000]2%
)
)
)
connection closed.