dev-utils/monitor/pg_top.sh
2023-10-23 14:38:37 +02:00

10 lines
205 B
Bash
Executable File

#!/bin/sh
#source $(dirname `readlink -f "$0"`)/../utils/config.sh
DB_HOST_SHORT="uniworxdb2"
#source $U2W_UTILS_DIR/utils/check_connection.sh
ssh -t $DB_HOST_SHORT "sudo -Hsu postgres pg_top -I -s 1"