Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 0cabb314ff
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (10 sloc) 0.332 kB
#!/usr/bin/env python
from datetime import datetime
import boto
import psutil
def main():
cloudwatch = boto.connect_cloudwatch()
available_memory = psutil.virtual_memory().available
cloudwatch.put_metric_data('memory', 'available', available_memory, datetime.now(), 'Bytes')
if __name__ == '__main__':
main()
Jump to Line
Something went wrong with that request. Please try again.