(form-jcmd-opts s opts)Select spec keys in s from opts and stingify them in k=v form.
Select spec keys in `s` from `opts` and stingify them in `k=v` form.
(jcmd pid command options)Build process args list for JCMD for pid, command with options.
Build process args list for JCMD for `pid`, `command` with `options`.
Build jcmd options for JFR commands.
See the (clojure.spec.alpha/form s) for:
:jcmd.jfr.options/start:jcmd.jfr.options/stop:jcmd.jfr.options/dump:jcmd.jfr.options/checkBuild jcmd options for JFR commands. See the `(clojure.spec.alpha/form s)` for: - `:jcmd.jfr.options/start` - `:jcmd.jfr.options/stop` - `:jcmd.jfr.options/dump` - `:jcmd.jfr.options/check`
(record! options)Record with JFR for a finite duration and save to a recording file.
By default records current process for 60 seconds to myrecording.jfr.
Available options:
:pid - Process ID to record. Default to current JVM.
:name - recording name, can be anything
:settings - JFR settings, string.
:defaultrecording - boolean
:delay - seconds before starting. number.
:duration - recording duration. number. default 60 seconds.
:filename - output file name. Default myrecording.jfr. String.
:compress - Compress output file? boolean.
:maxage - number.
:maxsize - integer.
:disk - record disk events. boolean.
:flush-interval - number.
:dumponexit - dump on VM exit. boolean.
:path-to-gc-roots - record paths to gc roots.
Record with JFR for a finite duration and save to a recording file. By default records current process for 60 seconds to myrecording.jfr. Available options: `:pid` - Process ID to record. Default to current JVM. `:name` - recording name, can be anything `:settings` - JFR settings, string. `:defaultrecording` - boolean `:delay` - seconds before starting. number. `:duration` - recording duration. number. default 60 seconds. `:filename` - output file name. Default myrecording.jfr. String. `:compress` - Compress output file? boolean. `:maxage` - number. `:maxsize` - integer. `:disk` - record disk events. boolean. `:flush-interval` - number. `:dumponexit` - dump on VM exit. boolean. `:path-to-gc-roots` - record paths to gc roots.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |