Skip to main content
Glama
yty-build
by yty-build
monitor_pgbouncer.sh416 B
#!/bin/bash echo "Monitoring PgBouncer connection pool for 60 seconds..." for i in {1..6}; do echo "" echo "=== Check $i/6 ($(date +%H:%M:%S)) ===" docker exec -e PGPASSWORD='SB_G5AZ)46NY$zOCsP.:gz*JM<1P' yt-postgres-pgbouncer \ psql -h localhost -p 6432 -U dev_pg_adm_01 -d pgbouncer \ -c "SHOW POOLS" -t | grep "dev_pg " | awk '{print "cl_active: "$3", sv_idle: "$9", sv_used: "$11}' sleep 10 done

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yty-build/postgres_mcp_allaccess'

If you have feedback or need assistance with the MCP directory API, please join our Discord server