Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Haim Yadid committed Dec 8, 2022
1 parent 0f2b12f commit 89ff079
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ mjprof is a monadic thread dump analysis tool set. It is a fancy way to say it a

Motivation
==========
So, You are out there in the wild vs a production machine. All you have have in hand is the "poor man's profiler" jstack.
You take one, two, three stack dumps and then you need to look at them manually inside an editor, vi, less, etc....
So, You are out there in the wild vs a production machine. All you have in hand is the "poor man's profiler" jstack.
You take one, two, three jstack thread dumps and then you need to look at them manually inside an editor, vi, less, etc....
If you have done it enough times, you probably know that it is a lot of manual work. Especially when you have thousands of threads in your process.

Running mjprof
Expand All @@ -33,8 +33,7 @@ Data sources generate thread dumps and feed them into mjprof. The default data s
When more than one data source is specified the thread dumps generated by all of them will be fed into mjprof.

* _**jmx**/host:port|MainClass|pid,[count],[sleep],[username],[passwd]/_ - Generate dumps via JMX
* _**jmxc**/host:port|MainClass|pid,[count],[sleep],[username],[passwd]/_ - Generates thread dumps dumps via JMX and collect sper thread CPU
* _**jstack**/pid|mainClassName,[count],[sleep]/_ - Generate dumps using jstack
* _**jmxc**/host:port|MainClass|pid,[count],[sleep],[username],[passwd]/_ - Generate thread dumps via JMX and collect sper thread CPU
* _**path**/path/_ - Read thread dump from file
* _**stdin**_ - Read thread dumps from standard input
* _**visualvm**/path/_ - Read profiling session from xml export of VisualVM
Expand All @@ -57,7 +56,7 @@ Single thread mappers
* _**-fn**_ - Eliminates file name and line from stack frames
* _**frame**/string/_ - Eliminates stack frames from all stacks which do not contain string.
* _**-frame**/string/_ - Eliminates stack frames from all stacks which contain string.
* _**-namesuffix**_ - Trim the last number from thread names helps grouping thread pool threads together
* _**-namesuffix**_ - Trim the last number from thread names helps to group thread pool threads together
* _**noop**_ - Does nothing
* _**-pkg**_ - Eliminates package name from stack frames
* _**-prop**/attr/_ - Removes a certain attribute e.g. eliminate/stack/
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
<artifactId>reflections</artifactId>
<version>0.10.2</version>
<exclusions>
<exclusion> <!-- we dont need findbugs as a dependency -->
<exclusion> <!-- We don't need findbugs as a dependency -->
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
Expand Down

0 comments on commit 89ff079

Please sign in to comment.