Skip to content

Commit

Permalink
Update mem.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwee-Veen authored Apr 18, 2024
1 parent a097716 commit 49b8296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ IO_WAIT=$(iostat | awk 'NR==4 {print $5}')

aws cloudwatch put-metric-data --metric-name memory-usage --dimensions Instance=$INSTANCE_ID --namespace "Custom" --value $USEDMEMORY
aws cloudwatch put-metric-data --metric-name Tcp_connections --dimensions Instance=$INSTANCE_ID --namespace "Custom" --value $TCP_CONN
aws cloudwatch put-metric-data --metric-name TCP_connection_on_port_80 --dimensions Instance=$INSTANCE_ID --namespace "Custom" --value $TCP_CONN_PORT_80
aws cloudwatch put-metric-data --metric-name TCP_connection_on_port_3000 --dimensions Instance=$INSTANCE_ID --namespace "Custom" --value $TCP_CONN_PORT_3000
aws cloudwatch put-metric-data --metric-name IO_WAIT --dimensions Instance=$INSTANCE_ID --namespace "Custom" --value $IO_WAIT

0 comments on commit 49b8296

Please sign in to comment.