feat: Display Redis data about workerqueue

This commit is contained in:
Carlos Solís 2025-05-09 01:56:24 +00:00
parent 4fa29db912
commit 36014518cc

View file

@ -1,2 +1,3 @@
#!/bin/bash
sudo mariadb friendica --execute="select distinct command, count(*) from workerqueue where done = 0 group by command; select count(*) from workerqueue where done = 0; select count(*) from workerqueue where command = \"ProcessQueue\" and pid = 0 and done = 0"
sudo redis-cli -n 1 keys '*' | cut -d":" -f2 | cut -d "-" -f 1-3 | sort | uniq -c | sort -n