Skip to content

Instantly share code, notes, and snippets.

View gregburek's full-sized avatar
👀
excited

Greg Burek gregburek

👀
excited
View GitHub Profile
vmstat
dstat
mpstat
htop
iostat
sar
uptime
pidstat
pstree
iptraf
> ObjectSpace.dump_all(output: File.open("heap.json", "w"))
> `file heap.json`
=> "heap.json: ASCII text, with very long lines\n"
> `ls -al heap.json`
=> "-rw------- 1 u47788 47788 985808896 Mar 10 05:29 heap.json\n"
> `du -sh heap.json`
=> "941M\theap.json\n"
> `cat heap.json | ruby -rjson -ne ' obj = JSON.parse($_).values_at("file","line","type"); puts obj.join(":") if obj.first '> /dev/null`
/app/vendor/bundle/ruby/2.2.0/gems/json-1.8.2/lib/json/common.rb:155:in `parse': 757: unexpected token at '{"address":"0x7f9dd68e3f20", "type":"STRING", "class":"0x7f9dc82b0ee0", "embedded":true, "bytesiz' (JSON::ParserError)
from /app/vendor/bundle/ruby/2.2.0/gems/json-1.8.2/lib/json/common.rb:155:in `parse'
[3370077.979925] carbon-cache.py[69842]: segfault at 24 ip 0000000000537388 sp 00007ffd105d0ed0 error 6 in python2.7[400000+2bc000]
[3370077.981359] carbon-cache.py[69810]: segfault at 24 ip 00000000004c4bce sp 00007ffc0f523a90 error 6 in python2.7[400000+2bc000]
[3370077.987527] Process 70244(apport) has RLIMIT_CORE set to 1
[3370077.987531] Aborting core
[3370077.987869] carbon-cache.py[69802]: segfault at 24 ip 00000000004c4bce sp 00007ffd9893b8e0 error 6 in python2.7[400000+2bc000]
[3370077.988510] carbon-cache.py[69898]: segfault at 24 ip 0000000000537388 sp 00007ffdf3594470 error 6 in python2.7[400000+2bc000]
[3370077.988915] Core dump to |/usr/share/apport/apport 69802 11 0 69802 pipe failed
[3370077.988926] Core dump to |/usr/share/apport/apport 69898 11 0 69898 pipe failed
[3370077.991585] carbon-cache.py[69874]: segfault at 24 ip 00000000004c4bce sp 00007ffd4bc78d00 error 6 in python2.7[400000+2bc000]
[3370077.991813] Core dump to |/usr/share/apport/apport 69874 11 0 69874 pipe failed
Category Code Service
EVENTTYPES issue AWS_ABUSE_EC2_BOTNET_REPORT ABUSE
EVENTTYPES issue AWS_ABUSE_EC2_CC_FRAUD_REPORT ABUSE
EVENTTYPES issue AWS_ABUSE_EC2_COPYRIGHT_DMCA_REPORT ABUSE
EVENTTYPES issue AWS_ABUSE_EC2_COPYRIGHT_NON_DMCA_REPORT ABUSE
EVENTTYPES issue AWS_ABUSE_EC2_DOS_REPORT ABUSE
EVENTTYPES issue AWS_ABUSE_EC2_EMAIL_SPAM_REPORT ABUSE
EVENTTYPES issue AWS_ABUSE_EC2_FORUM_SPAM_REPORT ABUSE
EVENTTYPES issue AWS_ABUSE_EC2_ILLEGAL_CONTENT_REPORT ABUSE
EVENTTYPES issue AWS_ABUSE_EC2_INTRUSION_ATTEMPT_REPORT ABUSE
### Keybase proof
I hereby claim:
* I am gregburek on github.
* I am gregburek (https://keybase.io/gregburek) on keybase.
* I have a public key ASAcdCj-CcnUVWdMJ84MHSEosEOWnx1LOGGiXSaLzYVEowo
To claim this, I am signing this object: