Git Product home page Git Product logo

jstackfx's Introduction

Build Status

Context

It is not an easy task to analyse thread dumps as files generated by the jstack tool provides raw text files. This is why I'm developing JStackFX.

Requirements

JStackFX requires the latest JDK 8 available on your system.

Build

As JStackFX is currently under development, you can build it manually in order to have the latest version. In order to build it, ensure the JDK 8 is available and execute the following command:

gradlew clean assemble

Execution

In order to start JStackFX, unzip the build/distributions/JStackFX-<version>.zip archive and start a command line within the unzipped folder. Execute the following command:

java -jar jstackfx-<version>.jar

In order to start JStackFX and open directly a dumpTimeline file you can use the following command:

java -jar jstackfx-<version>.jar --file=/path/to/dumpTimeline.txt

In order to start JStackFX and make a thread dumpTimeline of a given process you can use the following command:

java -jar jstackfx-<version>.jar --pid=<pid of the process to dumpTimeline>

Warning: if both --pid and --file parameters are used, --file is ignored.

Screenshot````

Screenshot of JStackFX Screenshot of JStackFX Screenshot of JStackFX Screenshot of JStackFX

Usage

SearchingF

Use the search bar in JStackFX to filter results. A query must have the following syntax:

fieldName comparator value operand fieldName comparator value ...
  • fieldName can be: state, number, threadId, priority or osPriority
  • comparator can be: =, !=, <=, <, >= or >
  • operand can be: and or or

Examples:

  • List all RUNNABLE threads:state = runnable
  • Display threads having number 10 or 20: number = 10 or number = 20
  • Display threads having number 10 or thread having number 20 and is in state BLOCKED: number = 10 or number = 20 and state = blocked

Release notes

Version 1.3

New and noteworthy:

  • Support for operators <=, <, >= and >
  • UI improvements

Version 1.2

New and noteworthy:

  • Display the number of results in the search bar
  • Allow to display thread elements' source from the dumpTimeline file
  • UX improvements

Version 1.1

New and noteworthy:

  • Adding a search bar for filtering results
  • Change the cursor when over a blocked or blocking thread in the table
  • Make some information of the thread copyable

jstackfx's People

Contributors

farnulfo avatar twasyl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jstackfx's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.