Skip to content

Instantly share code, notes, and snippets.

View krupet's full-sized avatar
🇺🇦

Petro Krutsiuk krupet

🇺🇦
View GitHub Profile
@krupet
krupet / gist:6b9efaf239b7bda64a232a8d0be26e0f
Created August 23, 2019 14:51 — forked from ehuynh/gist:2572398
Start and Stop Jenkins on OSX
# start
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
# stop
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
@krupet
krupet / custom_jstat_output.md
Last active August 21, 2019 13:58
Custom jstat output

How to get customized output from jstat?

Create folder .jvmstat in home folder and a file called jstat_options in it. Paste next content in ~/.jvmstat/jstat_options file:

option customgc {
   column {
     header "^Timestamp(s)^"
     data (sun.os.hrt.ticks/sun.os.hrt.frequency)