Before you can create a stack dump, you need to know (or find out) the process id of the application.
You can use the jps
command (or any other approach) to find the process for all running Java programs on the system.
e.g.
➜ jps
Before you can create a stack dump, you need to know (or find out) the process id of the application.
You can use the jps
command (or any other approach) to find the process for all running Java programs on the system.
e.g.
➜ jps
<scheme name="luck-theme" version="142" parent_scheme="Default"> | |
<option name="FONT_SCALE" value="1.0" /> | |
<metaInfo> | |
<property name="created">2021-05-06T21:13:30</property> | |
<property name="ide">idea</property> | |
<property name="ideVersion">2021.1.0.0</property> | |
<property name="modified">2021-05-06T21:13:38</property> | |
<property name="originalScheme">luck-theme</property> | |
</metaInfo> | |
<option name="LINE_SPACING" value="1.0" /> |
Run:
brew install gnupg pinentry-mac
git config --global user.signingkey <key>
git config --global commit.gpgsign true
git config --global gpg.program gpg
Then add the following line to ~/.gnupg/gpg-agent.conf
:
pinentry-program /usr/local/bin/pinentry-mac
JAR_FILE=WarmRoast.jar | |
URL="http://builds.enginehub.org/job/warmroast/4523/download/warmroast-1.0.0-SNAPSHOT.jar" | |
SAMPLING_INTERVAL=10 | |
if [ ! -e "$JAR_FILE" ]; | |
then | |
echo attempting to download $JAR_FILE; | |
curl "$URL" > "$JAR_FILE"; | |
fi; |