Docker Exit Codes
List of docker exit codes.
List of docker exit codes.
Show active client connections to a redis server.
Once you have your task definition setup, (we assume this task will exit when the job completes), you can use this guide to run the task from the command line. Run Task aws ecs run-task --region us-west-2 --cluster my-cluster --count 1 --launch-type EC2 --task-definition test:8 { "tasks": [ { "
db.currentOp(true).inprog.reduce( (accumulator, connection) => { ipaddress = connection.client ? connection.client.split(":")[0] : "Internal"; accumulator[ipaddress] = (accumulator[ipaddress] || 0) + 1; accumulator["TOTAL_CONNECTION_COUNT"]++; return accumulator; }, { TOTAL_CONNECTION_COUNT: 0 } ) { "TOTAL_CONNECTION_COUNT" : 16.0, "10.49.0.145&
select pid as process_id, usename as username, datname as database_name, client_addr as client_address, application_name, backend_start, state, state_change from pg_stat_activity;