Last active
August 1, 2021 17:55
-
-
Save refset/d3f6b31731a926f6fa994e4f450abe16 to your computer and use it in GitHub Desktop.
get-current-pid.clj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(-> (java.lang.management.ManagementFactory/getRuntimeMXBean) | |
(.getName) | |
(clojure.string/split #"@") | |
(first)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment