Bash script that reports the number of threads of a Java process: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 April 2017

  • curprev 04:0504:05, 22 April 2017Ovidiu talk contribs 291 bytes +291 Created page with "<pre> #!/bin/bash function java-process-pid() { ps -ef | grep "java \-jar.*threads\.jar" | grep -v "grep" | awk '{print $2}' } function thread-count() { pid=$1..."