Skip to content

Instantly share code, notes, and snippets.

View bruce965's full-sized avatar
🕷️

Fabio Iotti bruce965

🕷️
View GitHub Profile
@stalluri
stalluri / memoryStatus.sh
Last active December 5, 2017 11:49
Publish memory utilization in percentage to AWS Cloudwatch
#! /bin/sh
###############################################
# Purpose : To push an application metric (Memory utiization metric) for visibility and subsequently creating alarms on it
# Usage : Run this script on ec2 instance
# Crontab usage : */1 * * * * /home/ec2-user/publishProcessStatus.sh
#
# Dependencies : AWS CLI needs to be installed
# Author : Neptune.io, Inc.
###############################################