public-scripts/friendica-workerqueue.sh

4 lines
363 B
Bash
Raw Normal View History

2025-01-24 19:16:21 +00:00
#!/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