This file contains 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
#!/usr/bin/env python | |
# | |
# aws-instances.py | |
# | |
# A simple Python script that wraps the AWS CLI (https://aws.amazon.com/cli/) | |
# and generates a table view of instantiated EC2 instances running on AWS. | |
# | |
import json | |
import subprocess | |
import sys |
This file contains 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
#!/bin/bash | |
echo "" | |
# Root check | |
if [[ "$UID" -ne 0 ]]; then | |
echo "!! This script requires root privileges. sudo ./create_koken.sh" | |
echo "" | |
exit | |
fi |
This file contains 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
/home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/event_loop.rb:118: [BUG] object allocation during garbage collection phase | |
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] | |
-- Control frame information ----------------------------------------------- | |
c:0014 p:---- s:0050 e:000049 CFUNC :select | |
c:0013 p:0036 s:0043 e:000042 METHOD /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/event_loop.rb:118 | |
c:0012 p:0013 s:0037 e:000036 METHOD /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/event_loop.rb:104 | |
c:0011 p:0036 s:0031 e:000030 METHOD /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/event_loop.rb:99 | |
c:0010 p:0163 s:0028 E:000500 METHOD /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/agent/agent.rb:656 | |
c:0009 p:0023 s:0025 e:000024 BLOCK /home/my_app/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.12.0.288/lib/new_relic/ag |