Skip to content

Instantly share code, notes, and snippets.

@dyno
Created June 18, 2021 06:12
Show Gist options
  • Save dyno/0f242ed02d1dd1c7be281f18451977dc to your computer and use it in GitHub Desktop.
Save dyno/0f242ed02d1dd1c7be281f18451977dc to your computer and use it in GitHub Desktop.
EMR support checklist
#!/usr/bin/env bash
set -x
ps auxwww --sort -%cpu | head -10
ps auxwww --sort -rss | head -10
systemctl --type=service
df -h
free -m
/etc/init.d/service-nanny status
ls -1 /etc/init.d/
ls -l /emr/instance-state/
du -a /emr | sort -n -r | head -n 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment