Permalink
Switch branches/tags
Nothing to show
Commits on Oct 19, 2016
  1. Add packaging using fpm

    nicktelford committed Oct 19, 2016
  2. Update README

    nicktelford committed Oct 19, 2016
  3. Add support for choosing from multiple PIDs

    nicktelford committed Oct 19, 2016
    When multiple Java processes match the "name" argument, we need to
    present the user with a choice of PIDs, and have them select which one
    to debug.
  4. Only record live objects for heap dump & histogram

    nicktelford committed Oct 19, 2016
    Dead objects aren't particularly useful, especially when looking for
    memory leaks. Having only live objects makes the histogram easier to
    work with and the heap dump potentially much faster.
  5. Add -f argument for enabling full heap dump

    nicktelford committed Oct 19, 2016
    Many applications run with a very large heap, making a heap dump
    prohibitively expensive.
    
    The `-f` flag allows us to enable heap dumps only for services for which
    the heap dump will not be too costly.
  6. Improve error handling for invalid applications

    nicktelford committed Oct 19, 2016
    If an invalid application name is given (no process matches the name),
    we should abort and error out instead of trying to pass bogus arguments
    to jmap/jstack.
Commits on Jun 17, 2014
  1. Fixes and tidy up

    nicktelford committed Jun 17, 2014
    Ensures /tmp (or $TMPDIR) is used for the temporary directory, rather
    than the current directory (which may not be accessible after switching
    user).
  2. Merge pull request #1 from datasift/feature/fixes

    nicktelford committed Jun 17, 2014
    Feature/fixes
Commits on Jun 13, 2014
  1. Safe temp file creation and log copying

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
  2. Fix compression/copy and log dir check

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
    *.tgz extension needs explicit support.
    
    Copy was missing recursive flag.
    Tar command required a dash because of the preceding -C
  3. Revert accidental removal of app_name check

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
  4. Move PID calculation after JPS check

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
  5. Simplify archiving

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
    Use tar -a for automatic file format detection. Note that this requires
    a suffix of `.lzma` as `.lz` maps to the lzip compression skip. Also, an
    appropriate version of GNU tar.
    
    Make sure all references to file names are quotes, because bash.
  6. Consistently use [[ and change formatting of if

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
    Move `then` keyword to first line.
  7. Fix cli parsing

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
    Always shift first argument when successfully parsing an argument.
    Set APP_NAME to the correct value.
    
    Use more flexible log level instead of separate flags.
    Switch to case statements for more concise code.
  8. Remove redundant exit statement

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
  9. Whitespace fix

    Michael Pitidis
    Michael Pitidis committed Jun 13, 2014
Commits on Jun 12, 2014
  1. Update README with better example

    nicktelford committed Jun 12, 2014
    Now demonstrates automatic privilege escalation.
  2. Correct README title

    nicktelford committed Jun 12, 2014
  3. Initial commit

    nicktelford committed Jun 12, 2014
    Adds jdump, a README and an installer for convenience.