Last active
July 3, 2017 11:44
-
-
Save kevingo/24f280b5a0189e36ffba67a4db2cd4fd to your computer and use it in GitHub Desktop.
CloudWatch for Memory usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ sudo apt-get update | |
| $ sudo apt-get install unzip | |
| $ sudo apt-get install libwww-perl libdatetime-perl | |
| curl http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip -O | |
| unzip CloudWatchMonitoringScripts-1.2.1.zip | |
| rm CloudWatchMonitoringScripts-1.2.1.zip | |
| cd aws-scripts-mon | |
| */5 * * * * ~/aws-scripts-mon/mon-put-instance-data.pl --mem-util --disk-space-util --disk-path=/ --from-cron |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment