Skip to content

Instantly share code, notes, and snippets.

@ssledz
Last active August 19, 2019 09:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssledz/e7fe66f94964082ca278149deec34787 to your computer and use it in GitHub Desktop.
Save ssledz/e7fe66f94964082ca278149deec34787 to your computer and use it in GitHub Desktop.

Java profiling

async-profiler

Low overhead sampling profiler for Java that does not suffer from Safepoint bias problem.

./profiler.sh -e wall -t -i 5ms -f result.svg 8983

Shell

flock

Manage locks from shell scripts

touch lock; flock -x lock -c 'echo Start; /bin/sleep 10'

parallel

Build and execute shell command lines from standard input in parallel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment