Reorganize the merged KNELServerBuild + PFVCluster repo:
provisioning/ server provisioning (was ProjectCode/ +
Project-Includes/ + Project-ConfigFiles/)
tests/ test suite (was Project-Tests/)
perf/ Proxmox perf scripts (was top-level *.sh + scripts/)
docs/ all documentation (was ProjectDocs/ + PROJECT.md +
K8S.md + TODO.md)
dns-cluster-setup/ Technitium DNS cluster (unchanged)
netinfra/ netinfra audit scripts (unchanged)
switches/ switch configs (unchanged)
vendor/ vendored KNELShellFramework (unchanged)
Update all internal path references from old directory names
(ProjectCode/, Project-Includes/, Project-Tests/) to the new ones
(provisioning/, tests/) across all scripts.
🤖 Generated with [Crush](https://github.com/charmassociates/crush)
Assisted-by: GLM-5 via Crush <crush@charm.land>
14 lines
284 B
Bash
14 lines
284 B
Bash
#!/bin/bash
|
|
|
|
#Written by Valec 2006. Steal and share.
|
|
#Get postfix queue lengths
|
|
|
|
#extend mailq /opt/observer/scripts/getmailq.sh
|
|
|
|
QUEUES="incoming active deferred hold"
|
|
|
|
for i in $QUEUES; do
|
|
COUNT=$(qshape "$i" | grep TOTAL | awk '{print $2}')
|
|
printf "$COUNT\n"
|
|
done
|